I am to use one loop to accumulate numbers (and later get average of) and to be a sentinal control (when the user wants to quit).
I think it makes better sense to use 2 loops (nested) but the instructor has insisted on one loop.
Could anyone give me a hint how this could be done. I am a first semester programming student.
thanks in advance.