Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
- 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.
- 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.
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started