Program for Swapping the Variables
For Numeric Value
@0,6 say "Swapping Numeric Value"
? ""
Input "Enter value of A = " to a
Input "Enter value of B = " to b
? "Value of A & B after swapping"
? "Value of A = ", a
? "Value of B = ", b
Temp = a
a = b
b = temp
? ""
? "Value of A & B after Swapping"
? "Value of A = ", a
? "Value of B = ", b
0 Comments
Thank You ! For your love