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
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What is a standard template library (stl)?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
Why should a c++ programmer be interested in stl?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
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 is a list in c++ stl?
What is a standard template library (stl)? What are the various types of stl containers?
what is template and type convertion
sir please send me bpcl previous question papers
Who created stl?
How is stl different from c++ standard library?
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
How does an stl file work?