Computer Science, asked by kajalk23, 5 months ago

W.A.P inC++ for swapping two numbers​

Answers

Answered by AnindaBasu
1

Answer:

#include<iostream.h>

void main( )

{

int a,b,c;

cout<<"Enter the value"<<endl;

cin>>a>>b;

c=a;

b=c;

a=b;

cout<<"Swap of Two Number "<<a<<b;

getch();

}

Similar questions