Answer to Question #4768 in C++ for anum

Question #4768
write a program which take two numbers from the user and display the large number
1
Expert's answer
2011-10-21T08:55:34-0400
#include <iostream.h>
#include <conio.h>
main(){
int a,b;
cout<<"Enter first number: ";
cin>>a;
cout<<"Enter second number: ";
cin>>b;
if (a>=b) cout<<a;
else cout<<b;
getch();
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS