stuck on the next part of the question which requires me to
reverse and output the int array
got this
for (int i = numCount - 1; i >= 0; i--)System.out.println(i)
However when I terminate it doesn't reverse it properly
EDIT: Solved
ahwoo hasn't added any friends yet.
10 October 2012 - 02:32 AM
for (int i = numCount - 1; i >= 0; i--)System.out.println(i)
10 October 2012 - 01:45 AM
10 October 2012 - 01:22 AM
You need to check the entered number if it's negative, then don't accept it and let the user add a new number. if it's 0, terminate.
is it limited to 5 numbers, or is it just your test?
18 September 2012 - 04:14 AM
18 September 2012 - 04:04 AM