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
What is vector processing?
What is c++ w3school?
Which ide is best for c++?
What are mutator methods in c++?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
How did c++ get its name?
What is the use of ::(scope resolution operator)?
Why is swift so fast?
Explain what data encapsulation is in c++?
What is math h in c++?
What are namespaces in c++?
Can java be faster than c++?
Can a program run without main in c++?
What is the first name of c++?
What are the various situations where a copy constructor is invoked?