Computer Science, asked by weotikabali, 5 hours ago

WAP to input two numbers and a character variable ch which may have either ‘y’ or ‘n’ as its input. if ‘y’ then print the original values of the variables and interchange the values and print the swapped values using a third variable, if ‘n’ then print the original values of the variables and interchange the values and print the swapped values without using a third variable.

Eg:-if A=5 B=6

Output Original Values A=5 and B=6

Changed values=A=6 and B=5​

Answers

Answered by gyasuddinansari40
0

Answer:

Copy kar past ka change kar

Similar questions