Answer to Question #4768 in C++ for anum
write a program which take two numbers from the user and display the large number
1
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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment