- 1

a program in which the user can give n number of inputs, untill he press -1. Also find the second largest number out of those no

use of array, pointers,stack and queue are restricted.

26th Aug 2017, 11:47 PM
Ash Krishna
Ash Krishna - avatar
1 Réponse
+ 1
input once with multiple lines: 3 9 5 -1 output: max: 9 2nd: 5 https://code.sololearn.com/cnxlaiTYaWaE/?ref=app
27th Aug 2017, 2:19 AM
hamletmun
hamletmun - avatar