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
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What is a stl vector?
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.
What is the stl, standard template library?
how to making game in c++ ?
What is stl stand for?
What is meant by stl in c++?
What is stl in c++ with example?
Explain stl.
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
Name the different types of stl containers.
sir please send me bpcl previous question papers
When did c++ add stl?
What are the various types of stl containers?