I have to do this project for school that finds the Standard Deviation. The first part of it, which has to build an array from scanner with a while loop, has been killing me today.
The problem is that my teacher wants a program that will allow a user to enter a list of test scores(use 999 as a sentinel value), and have theses values stored in an integer array. I've gotten this to work with a for loop without a sentinel value, but if the instructions call for a sentinel value, then I must need it.
Can anyone PLEASE help me out?