W.A.P. to sum of two numbers.


 

/*W.A.P. to sum of two numbers. */

#include<iostream.h>

#include<conio.h>

void main()

{

int a,b,c;

clrscr();

cout<<“enter the value of a=”;

cin>>a;

cout<<“enter the value of b=”;

cin>>b;

c=a;

a=b;

b=c;

cout<<“a=”<<a<<endl;

cout<<“b=”<<b;

getch();

}

Related Posts

Comments are closed.