Yes, what Norm said. Your program expects you to enter all 3 of the names first then all three of the scores.
your program wants the following input:
Smith
Jones
Peterson
70
30
100
Type: Posts; User: that_guy
Yes, what Norm said. Your program expects you to enter all 3 of the names first then all three of the scores.
your program wants the following input:
Smith
Jones
Peterson
70
30
100
First of all your program doesnt ask for user input when inputing the students names and scores. It just expects the user to know what the program wants.
Your first for loop in decreasingOrder()...