Computer Science, asked by ajithsowmiya1432002, 10 months ago

pseudocode to find the swapping of two numbers​

Answers

Answered by Anonymous
28

using namespace std;

#include<iostream>

int main()

{

int a,b,temp;

cout<<"Enter the value of a: ";

cin>>a;

cout<<"Enter the value of b : ";

cin>>b;

temp = a;

a = b;

b = temp;

cout<<"a : "<<a<<endl;

cout<<"b : "<<b<<endl;

cout << "Press a key to continue ..." << endl;

cin.ignore();

cin.get();

return EXIT_SUCCESS;

}

..hope this helps uh..☺️{}{}{{{}{{

Similar questions