0

Write a program to swap 2 variables

takes no argumaents

9th Mar 2017, 1:56 PM
charumathi.n
charumathi.n - avatar
3 Respostas
0
which language ?
9th Mar 2017, 2:01 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
#program to swap 2 variables a=int(input(" enter the first number :")) b=int(input ( "enter the second number :" ) ) a,b=b,a print(a) print (b) #done😉#
9th Mar 2017, 6:23 PM
jerom ronny
jerom ronny - avatar
- 1
a=int (input ()) b=int(input ()) a, b=b, a
9th Mar 2017, 1:59 PM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar