java I have an array gpa that contains the gpas of 100 stude

java

I have an array gpa that contains the gpa\'s of 100 students. Step through the gpa array using a traditional for-loop, printing out each name. Do not hard core 100.

Solution

Answer:

int gpa[] = new int[100];
       for(int i=0; i<gpa.length; i++){
           System.out.println(gpa[i]);
       }

java I have an array gpa that contains the gpa\'s of 100 students. Step through the gpa array using a traditional for-loop, printing out each name. Do not hard

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site