Question: Write a program in C + + that will prompt user to enter two different integers to two different integer variables declared as first _
Write a program in C that will prompt user to enter two different integers to two different integer variables declared as firstnumber and secondnumber
After reading the two values, print out value of each variable.
Then swap the value of each variable and then print them again. You must print their values exactly as you had done above.
A sample output could be like this:
Enter first number :
Enter second number :
First # is and Second # is
After swapping: First # is and Second # is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
