0
Can any1 pls help me
You are given a sequence of integers as input, terminated by -1. (That is, the input integers may be positive, negative or 0.A-1 in the input signals the end of the input.) -1 is not considered as part of the input Find the second largest number in the input. You may not use arrays. https://code.sololearn.com/cJ6k63dqrNg8/?ref=app
6 Answers
+ 1
We normally don't write people's programs. If you code something and it is broken, we will fix it.
+ 1
Do you know how to find the largest? It is similar to that, except you need a second variable for the second highest.
+ 1
+ 1
thanx a lot sir John Wells . I have passed my assignment with 100 marks.
0
John Wells I know that. I just want to understand the concept behind it. I am not able to write the correct program.
0
John Wells I have written a code for the program. Can you pls help me out by sorting out the errors????? thank you
https://code.sololearn.com/cJ6k63dqrNg8