Question: Assume the following array declaration for the following question: int[ ] grades = {60, 68, 72, 55, 62, 58, 70, 59, 90, 71, 95, 65,

Assume the following array declaration for the following question:

int[ ] grades = {60, 68, 72, 55, 62, 58, 70, 59, 90, 71, 95, 65, 60, 50};

  1. [2] How many elements are in the grades array?

  1. [4] Write statement(s) that will search the array gradesand count the number of failing grades that are less than 70.

  1. [4] Write statement(s) that will create new array that will add a curve of 10 points to all grades.

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 Programming Questions!