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
How is stl different from c++ standard library?
What is meant by stl in c++?
What is stl in c++ with example?
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.
Is string part of stl?
Is there any error below, its a code to delete all entires from a map #include
What is stl stack?
What are the symptoms of stl?
How connect plc and pc through software
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
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What does stl mean in slang?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
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
totoo po ba ang manga aliens!