Thursday, March 27, 2014

nested if statement

/*If the ages of Ram, sham and Ajay are input through the keyboard, write a program to determine the youngest of the three*/

Output is as :
Enter the three Ages of Ram,Sham and Ajay
14
17
19
Ram is Youngest



No comments:

Post a Comment