Question: Lab 7 : Arrays Objective Practice reading and writing to a one - dimensional array. Requirements Write a program that does the following: - Write
Lab : Arrays
Objective
Practice reading and writing to a onedimensional array.
Requirements
Write a program that does the following:
Write a void userInput function that takes an integer array and its size as parameters. The function must allow users enter students' scores.
Write grade function that takes a student score as a parameter and returns the corresponding grade letter following this scheme: A or larger B to less than C to less than D to less than F any score less than
Both functions must be called from the main function.
The output must be formatted as shown in the Sample Output below. You must use manipulators as discussed in chapter
Use meaningful variable names and add comments to explain your code.
An Example Output
Evaluation Criteria
Implementing ALL lab requirements.
Writing proper comments.
The program produces the expected results.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
