Question: Write a program that takes 2 integers as inputs and swaps them in outputs. At first, save the integers in 2 different variables. Within the

Write a program that takes 2 integers as inputs and swaps them in outputs. At first, save the integers in 2 different variables. Within the code, swap their values. Finally, print the integers on screen. Sample Input: (Your code should print the red texts on the screen. Black texts are sample user inputs) Number-1: 24 Number-2: 67 Sample Output: Number-1 is 67 Number-2 is 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
