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
What is std namespace in c++?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is static in c++?
Difference between an inspector and a mutator
What are shallow and deep copies?
In the derived class, which data member of the base class are visible?
Can c++ be faster than c?
What is the difference between while and do while loop? Explain with examples.
What is bubble sort c++?
What does ios :: app do in c++?
What is the best c++ book?
What are iterators in c++?
What is searching?
Explain the difference between abstract class and interface in c++?
How can I improve my c++ skills?