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
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
What are the symptoms of stl?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What is the stl, standard template library?
how to making game in c++ ?
write a program to convert a decimal number in to its equivalent binary number?
Is stl part of c++ standard?
What are the different types of stl containers?
how to use C++?
totoo po ba ang manga aliens!
How does an stl file work?
what is template and type convertion
Name the different types of stl containers.
What is a list in c++ stl?
Explain stl.