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 are the effects after calling the delete this operator ?
Is java a c++?
What is near, far and huge pointers? How many bytes are occupied by them?
What are the uses of c++ in the real world?
What do you mean by vtable and vptr in c++?
List the types of polymorphism in c++?
Explain register storage specifier.
How a new element can be added or pushed in a stack?
What data encapsulation is in c++?
How do I make turbo c++ full screen?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What is the use of volatile variable?
what is Loop function? What are different types of Loops?
What are formatting flags in ios class?
Which bit wise operator is suitable for checking whether a particular bit is on or off?