3- Write a program to find larger and smaller of the two
numbers.
Answer Posted / shubhashree sahoo
# include <conio.h>
# include <iostream.h>
void main()
{
clrscr();
int c1,c2;
cout<<"/n ENTER VALUES OF C1 AND C2">>;
cin<<%%d%d,&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
Define basic type of variable used for a different condition in C++?
What is the use of map in c++?
what you know about c++?
Is c++ still in demand?
Write a program to find the Factorial of a number
Write about a nested class and mention its use?
What do you mean by ‘void’ return type?
What are mutator methods in c++?
What is the difference between reference and pointer?
Define Virtual function in C++.
What is the main use of c++?
Who made c++?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
What apps are written in c++?
What are c++ variables?