If the user inputs:
John 91 92 93 94 95 96 97 jim 91 92 93 94 95 96 97
The program loops twice to find john and jim's grade in the class but how do I have the loop stop once there is nothing else to compute
![]() |
If the user inputs:
John 91 92 93 94 95 96 97 jim 91 92 93 94 95 96 97
The program loops twice to find john and jim's grade in the class but how do I have the loop stop once there is nothing else to compute
Define nothing else to compute. How are you inputing the information? Stdin? File? Dialog?
I need the program to continue on to the next thing after computring what the user inputed because the amount of people can be unlimited
Okay, how is the data being inputed?
IS this a GUI? Command line/console application?
The answers are VASTLY different depending on what you're doing. You should correlate what this assignment is with what is going on in class. Usually the answer is there. If not talk to a TA. I am a gifted programmer but if I have to base a solution on 20 words... not going to happen. Where is the input coming from?
| All times are GMT -7. The time now is 07:25 AM. |