You are given two variables X and Y swap their values so that the value of X gets stored in Y and the value of Y gets stored in X.
Complete the following program to swap the variables.
int X = 1;
int Y = 2;
Output should be
The value of X after swapping is 2 The value of Y after swapping is 1
int X = 30;
int Y = 99;
Output should be
The value of X after swapping is 99 The value of Y after swapping is 30
int X = 27;
int Y = 303;
Output should be
The value of X after swapping is 303 The value of Y after swapping is 27
Test your solution here
when it passes, copy it and submit it here so your coach can grade it.