Answered step by step
Verified Expert Solution
Link Copied!

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.

  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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions