Write a program to print the swapping in two no and using
three variable.
Answer Posted / anshuman jha
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
cout<<"Enter the two different no :";
cin>>a>>b;
cout<<"After swapping :"<<a<<b;
c=a;
a=b;
b=c;
cout<<"Before swapping :"<<a<<b;
getch();
}
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
write a program to convert a decimal number in to its equivalent binary number?
What are the symptoms of stl?
What is a list in c++ stl?
What do stl stand for?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Who wrote stl?
How does an stl file work?
What are the different types of stl containers?
How connect plc and pc through software
Is string part of stl?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
What is stl in oop?
What is the stl, standard template library?
Is stl part of c++ standard?