3- Write a program to find larger and smaller of the two
numbers.
Answer Posted / laxman kanhere
# 1 # include <conio.h>
# include <iostream.h>
void main()
{
clrscr();
int c1,c2;
cout<<"/n ENTER VALUES OF C1 AND C2";
cin>>c1>>c2;
if( c1>c2)
print("c1 is greater")
else
print("c2 is greater and c1 is smaller")
}
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why c++ is not a pure oop language?
What is a node class in c++?
give me an example for testing a program showing the test path .show how the test is important and complex.
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Does a derived class inherit or doesn't inherit?
What is virtual destructor ans explain its use?
Why is c++ so fast?
Is c or c++ more useful?
Can create new c++ operators?
What is isdigit c++?
Which programming language is best to learn first?
What is the use of :: operator in c++?
program explaining feautures of c++
What is the average salary of a c++ programmer?
What are multiple inheritances (virtual inheritance)?