Sign in with
Sign up | Sign in
Your question

Write a program that reads 3 integers as input and prints the second largest of these three numbers. Example: Input: 3 4 5 Out

Last response: in Apps General Discussion
Share
August 12, 2014 6:13:44 AM

please give asreen shot of above question ...............

More about : write program reads integers input prints largest numbers input

August 12, 2014 6:33:23 AM

Do your own homework.
m
0
l
August 12, 2014 6:34:12 AM

homework?
m
0
l
August 12, 2014 6:39:33 AM

WTF :D 
m
0
l
August 12, 2014 6:41:28 AM

the answer is 4
m
0
l
August 13, 2014 8:08:53 AM

mohitkrm said:
please give asreen shot of above question ...............

All you need is to input three variables, have a couple of if statements comparing the numbers with greater than / less than operators with the possible scenarios and you should have it! I'm not gonna write the program for you, just a hint :)  Have fun!
Bishopsboy56
m
0
l
!