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 the difference between #import and #include in c++?
Explain about Garbage Collector?
Are php strings immutable?
Why c++ is created?
What is the rule of three?
What is a manipulative person?
Using a smart pointer can we iterate through a container?
Define upcasting.
What are c++ manipulators?
Can we run c program in turbo c++?
Name the debugging methods that are used to solve problems?
Which is not a valid keyword a) public b) protected c) guarded
What is the difference between a definition and a declaration?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is runtime polymorphism in c++?