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
What is const in c++?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Which format specifier is used for printing a pointer value?
What are the operators in c++?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
What does override mean in c++?
Why do we use using namespace std in c++?
Why c++ is faster than java?
What is the difference between a baller and a reference in C++?
What is a modifier in c++?
What is a c++ map?
What is exception handling? Does c++ support exception handling?
What is c++ map?
What is an operator function? Describe the function of an operator function?
Are php strings immutable?