Search:

Type: Posts; User: jps

Search: Search took 0.09 seconds.

  1. Re: How to find where the biggest number is in an array

    Check the positioning of the { } again. For some reason the scope of the for loop does not include k on line 34.
    class ForDemo {
    public static void main(String[] args){
    for(int i=1;...
  2. Re: How to find where the biggest number is in an array

    Check the { }
    It seems the compiler believes k is not defined within scope every time it is being used.
    Look at line 34's use of k
Results 1 to 2 of 2