Computing and Mathematical Modeling Editors: K. Thangavel and P. Balasubranmaniam Copyright 2005, Narosa Publishing House,New Delhi, India National Conference on Intelligence Optimization Modelling NCIOM-06), Gandhigram Rural University, Gandhigram, Dindigul District, Chinnalapatti,, Tamil Nadu, India 624302; 03/2005 Swapping of Number by using different techniques of Mathematical, logical Modeling & Algorithm Dinesh Bhagwan Hanchate*, Dinesh Achut Zende** *Asst. Prof. Computer Engineering., Vidyapratishthan’s College Of Engineerring, Baramati 413133, Maharashtra. hanchatedb@indiatimes.com dinesh_b_hanchate@yahoo.com **lecturer IT deptt., Vidyapratishthan’s College Of Engineerring, Baramati 413133, Maharashtra. Dinesh_1111@yahoo.co.in ABSTRACT When we want to do the sorting of numbers, we definitely come across the exchange of number or swapping of number. There are so many occasions, we will do the exchange of number, but not only that, we have to do it in the transactions (for the account in Bank), exchanging IP addresses in the routing algorithm, exchanging the nodes in the tree for making the tree of binary search, making the exchange of number in array for finding the maximum and minimum of given numbers etc. We tried to find the various techniques only and it’s algorithm for some of them. Keywords:- Logical, mathematical models ALGORITHM BY TEMPORARY VARIABLE[1] //Variables : temp, a, b;// Begin 1.Temp a. 2.ab.