Swapping Numbers

in Hindi - Swapping Numbers



not yet

Source Code :

RUN#include<iostream>
#include <conio.h>
using namespace std;

int main(){

int num1, num2, num3;
cout<<"Enter two numbers : ";
cin>>num1>>num2;
cout<<"Entered numbers : "<<num1<<" and "<<num2<<endl;

num3 = num1;
num1 = num2;
num2 = num3;

cout<<"swapping numbers : num1="<<num1<<" and num2="<<num2;
return 0;
}