Switch to full style
For C/C++ coders discussions and solutions
Post a reply

Read two numbers from the keyboard and display larger number

Tue Jan 24, 2012 5:47 am

write a program to read two numbers from the keyboard and display the larger value on the screen.



Re: programming

Mon May 06, 2013 10:54 pm

something like this
cin>>x;
cin>>y;
if x>y
cout<<x;
else
cout<<y;

Post a reply
  Related Posts  to : Read two numbers from the keyboard and display larger number
 read php file in asp and display it as html     -  
 CME display calling number without leading 0     -  
 check keyboard events using C++     -  
 Handle Key event-keyboard-Get typed Character and its code     -  
 convert integer number to octal,hexadecimal number systems     -  
 convert decimal number to octal number     -  
 convert octal number to decimal number     -  
 add two 24-bit numbers (sum two numbers)     -  
 The harmonic mean of two numbers is given by     -  
 JProgressbar Sum of 'n' Numbers     -