Question: 2. Write a program that asks the user to enter 2 integers A and B and exchange the value of A and B. Hint be
2. Write a program that asks the user to enter 2 integers A and B and exchange the value of A and B. Hint be sure to use integer values throughout, not real numbers. Moreover, you should create a third temporary variable to complete the exchange. By Dev c++ By Printf scanf Not cin>> Not cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
