Write a program to print the swapping in two no and using
three variable.
Answer Posted / anonymous
import java.util.*;
class S3v
{
public static void main(String args[])
{
int a,b,c;
Scanner s=new Scanner(System.in);
a=s.nextInt();
b=s.nextInt();
c=a-b;
a=a-c;
b=b+c;
System.out.print(a+" "+b);
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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
Name the different types of stl containers.
How is stl different from c++ standard library?
What is the use of stl?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
how to use C++?
What are the various types of stl containers?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What is a stl vector?
How does an stl file work?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
Explain stl.
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
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
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.