OOP Pr-1
OOP Pr-1
//swapping of number
#include<iostream>
using namespace std;
int main()
{
int a,b,temp;
cout<<"entre first number: ";
cin>>a;
cout<<"entre second number: ";
cin>>b;
temp=a;
a=b;
b=temp;
cout<<a<<endl<<b;
}
Output: