write a program to input two number and swap them using third variable
Answers
Answered by
5
Answer:
C++ Program to Swap Two Numbers using Third variable
•User is asked to enter the value of first and second number. The input values are stored in first(num1) and second(num2) variable.
•Assigning the value of first variable to the third variable.
•Assigning the value of second variable to the first variable.
•Assigning the value of third variable to the second variable.
Answered by
7
hope this will help!! ❤❤
Attachments:
Similar questions