Question
in C# please: Professor Garfield needs a program to compute some homework scores. Compile a program that uses an eight-element double array to store weekly
in C# please:
Professor Garfield needs a program to compute some homework scores.
Compile a program that uses an eight-element double array to store weekly homework scores (Assume grades of 0 to 10 points are possible).
Use a loop to prompt for and read all the grades in the array.
After the values are read and stored in the array, program should:
(a) display the values in the array
(b) output the minimum grade
(c) output the maximum grade
(d) output the average for all eight grades
(e) output the student's overall percentage (out of 80 points) and their letter grade using a 10- percentage point scale.
Additionally, the professor would like to explore the effect of dropping the lowest homework score for the student. Recompute and output the average, overall percentage and letter grade assuming the lowest grade is dropped. Output requirement: All values should be displayed with 1 digit to the right of the decimal point.
Challenge: HaVe program to check the values entered and only store values between 0.0 and 10.0 (inclusive) in the array. Entry of an invalid value should display an error message and ask the user to try again. Invalid values should not be entered into the array.
Step by Step Solution
3.55 Rating (165 Votes )
There are 3 Steps involved in it
Step: 1
Heres a C program that meets your requirements csharp using System class Program static ...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