help

Hey i need help in repetition, i am completely lost.
My question is to write a c++ program which finds the average of the measurement obtained by the students in an experiment.The measurement of -1 indicates that are no more measurements.
Sounds like a while loop to me - have you learned how to write one of those?

Think about what needs to be done inside the loop.

Think about when you need to stop doing that (i.e. under what condition does the loop finish?).

Think about what you need to set up before the loop is entered.
Topic archived. No new replies allowed.