This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a program that declares two integer variables i and j and assigns values 10 and 30. | |
Print the values of these variables. Add an expression to swap the values of the variables using assignment operator. | |
Finally, print the values of the variable values after swapping. |