Question: This needs to be done using Net beans. There are files that need to be scan.in i can not provide those files just label with

 This needs to be done using Net beans. There are files

This needs to be done using Net beans. There are files that need to be scan.in i can not provide those files just label with your files. Please provide clear and easy to follow coding thank you

3) After you fall out of the for loop use a while loop to loop through the all the degrees stored in the student degree ArrayList (Your while loops will be based on the size of the Arraylist as shown in the Chapter 5 video and the Chapter 5 - More ArrayList Examples video.) a) Inside the while loop write an if block using the degree as an expression to compare against i) if degree is "CS" add the grade from the student grade ArrayList to a Cs sum, and increment a counter for the number of CS students ii) if degree is "IT" add the grade from the student grade ArrayList to a IT sum, and increment a counter for the number of IT students b) When the loop finishes print out average CS grade and average IT grade c) Example output Average grade is for cs is 3.2 Average grade is for IT is 3.3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!