How do I get the variable checkNumber to read from the input and exit if the user enters a value less than 0? I initially created the array to accept 10 integer values and then average and sum them...
Type: Posts; User: ponyexpress
How do I get the variable checkNumber to read from the input and exit if the user enters a value less than 0? I initially created the array to accept 10 integer values and then average and sum them...
I'm hung up here on how to get this to end when a negative number is entered. I want the user to enter 10 integers into an array. After those are entered, the program will sum and average the data....