Hi- I want to use a sentinel value (-1) to end the loop of a program after the user has entered all of their data. However, how can I output inbetween each instance of the loop? Then, at the end, how can I will have an average of all entered data?
Thanks