Thursday, November 4, 2021

Java Programming | Question in description | Question 3

Write a Java program that reads two integers in two variables x and y and then permutes the value of the two variables.

Note: Your program should look like this: Enter x: 2 Enter y: 5 The new value of the variable x is: 5 The new value of the variable y is: 2 Note: you should Include the screenshot of the program output as a part of your answer. Otherwise, zero marks will be awarded.

Write a Java program that reads two integers in two variables x and y and then permutes the value of the two variables.   Note: Your program should look like this:  Enter x: 2  Enter y: 5  The new value of the variable x is: 5  The new value of the variable y is: 2   Note: you should Include the screenshot of the program output as a part of your answer. Otherwise, zero marks will be awarded.



STEP by STEP SOLUTION On YouTube Video

Subscribe our channel for more videos

https://youtu.be/FavLOp2Q8TA

FaceBook: 

www.facebook.com/MuhammadaAli5110

No comments:

Post a Comment