- 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.
1 Respuesta
+ 1
input once with multiple lines:
3
9
5
-1
output:
max: 9 2nd: 5
https://code.sololearn.com/cnxlaiTYaWaE/?ref=app