>//this prog is not print nextHighestScore and i don't now way//
>please help i;m a bigner thaks in adv
[output 1]
Please enter the number of students to process:
3
Please enter the student name:
a
Please enter the student score:
3
Please enter the student name:
b
Please enter the student score:
2
HERE
Please enter the student name:
c
Please enter the student score:
1
Name highest score: a
Highest score: 3
Name next highest score: b
Next highest score: 2
Press any key to continue . . .
[/output 1]
Can you tell why it is different to your output?

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Andrew Thompson - 29 Oct 2007 07:23 GMT
>>//this prog is not print nextHighestScore and i don't now way//
>>please help i;m a bigner thaks in adv
[quoted text clipped - 23 lines]
>
>Can you tell why it is different to your output?
Or, more accurately, *this* output - when both came
from the 'exact'* same original code you posted.
[output 2]
Please enter the number of students to process:
3
Please enter the student name:
a
Please enter the student score:
1
Please enter the student name:
b
Please enter the student score:
2
Please enter the student name:
c
Please enter the student score:
3
Name highest score: c
Highest score: 3
Name next highest score:
Next highest score: 0
Press any key to continue . . .
[output 2]
* At least, the exact same code as I ran, after I
had formatted it with normal indentation. I do not
believe any other changes were made.

Signature
Andrew Thompson
http://www.athompson.info/andrew/