Thanks alot, helped out heaps!
Type: Posts; User: hing09
Thanks alot, helped out heaps!
I just realised you need the { brackets for the while loop otherwise it will keep looping.
Thanks,
I have removed the } in the while loop although it now compiles but does not give me the output :(
The out put should be showing the largest number that the user has entered 5 times.
Hi all,
Does anyone know why i keep getting illegal start of type when i type System.out.println("The Largest Number is " + maxValue(numbers));
when i put // infront of it as a comment it...