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.
clski1973 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
iamthwee commented: glad to see you posting again. +12
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
clski1973 0 Newbie Poster
clski1973 0 Newbie Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Duoas 1,025 Postaholic Featured Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.