Question: URGENNT C PROGRAMMING 1 HOUR Dr. Kenneth has constructed a two-dimensional array of float numbers having 3 rows and 5 columns. This array currently contains

URGENNT C PROGRAMMING 1 HOUR

Dr. Kenneth has constructed a two-dimensional array of float numbers having 3 rows and 5 columns. This array currently contains the test grades of the students in the Dr. Kenneth's Artificial Intelligence class.

  1. Write a C program that reads 15 array values and then determines the total number of grades in the ranges less than 60, greater than or equal to 60 and less than 70, greater than or equal to 70 and less than 80, greater than or equal to 80 and less than 90, and greater than or equal to 90.

  1. Entering 15 grades each time the program written for part (a) is run is cumbersome. Write a short snippet of code to indicate an appropriate method for initializing the array during the testing phase.

  1. How might the program you wrote for part (a) be modified to include the case of no grade being present? That is, how would your program have to be modified to exclude counting such a grade? You may answer this question with the aid of pseudocode or a flowchart.

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!