Computer Science, asked by SanyukthaS, 1 month ago

what is swapping program in qBasic
explanation and example

Answers

Answered by mrsanjusingh78
1

Answer:

In the above Qbasic program, two integer variable is declared, that is "A and B". This variable is used for taking user input. Before swapping we print user input value. ... This variable is used to perform swapping. After swapping the print function is used for print swapped values, Then end of the program.

Explanation:

here is your answer if you like my answer please follow

Answered by ansh89890
1
Swapping means to replace the value of any 2 variable

Ex- a=5 , b=3

So after swapping it should be like this

a=3 , b=5
Similar questions