3- Write a program to find larger and smaller of the two
numbers.
Answer Posted / jack
# 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 ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you compile the source code with your compiler?
Write about the various sections of the executable image?
Explain the different access specifiers for the class member in c++.
Why is standard template library used?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Can c++ be faster than c?
What are the four main data types?
which of the following is not an secondary constant a) array b) real c) union
Will rust take over c++?
Explain how the virtual base class is different from the conventional base classes of the opps.
Define a nested class.
What is c++ similar to?
Which is best ide for c++?
What is a try block?
How to declare a pointer to an array of integers?