Hi guys and gals,
Im currently taking a class in java, and out professor has assumed way to much of our knowledge. He has taught us some very very basic things, basically input and output from user nad handling some basic IOExceptions.
He gives us our first program and I am lost. Here goes..
I have to write a program to find the minimum, maximum, and average of a sequence of user-inputed numbers. Enter a negative number should also end the input phase. It then should reprint those three things after the user enters all the numbers he/she wishes.
From what I know, or think I do... I wanted to use an array to hold the values of the users input, then after a negative number is entered, break that loops and begin another to find those 3 values of min max and average.
Im a complete newb to Java, and have some c++ albeit 2 years ago. Im currently using Netbeans 3.6 as my compiler and developing environment.
Am I on track with my logic? Im really stuggling here and I know this should be easy, I DO NOT however want anyone to write this thing for me, Im just looking for suggestions on what I should be doing or thinking.
Thanks all!