Write a program In C# that creates a 10 element double array to store program grades and reads 10 values between 0.0 and 100.0 from the user. After the values are read and stored in the array, your program should (a) display the values in the array with 1 digit to the right of the decimal point, (b) output the minimum value, (c) output the maximum value, and (d) output the average program grade. Successful completion of this program will require that you use at least TWO loops: the first should store the values in the array, and the second will do the process/calculations. If your program doesn’t have TWO loops, you’ll get to do it again. Challenge: Write your program such that invalid program grades are rejected and not added to the array. Valid program grades are between 0.0 and 100.0 inclusive.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 23PE
icon
Related questions
Question

Write a program In C# that creates a 10 element double array to store program grades and reads 10 values between 0.0 and
100.0 from the user. After the values are read and stored in the array, your program should (a) display the values in the
array with 1 digit to the right of the decimal point, (b) output the minimum value, (c) output the maximum value, and (d)
output the average program grade. Successful completion of this program will require that you use at least TWO loops:
the first should store the values in the array, and the second will do the process/calculations. If your program doesn’t
have TWO loops, you’ll get to do it again. Challenge: Write your program such that invalid program grades are rejected
and not added to the array. Valid program grades are between 0.0 and 100.0 inclusive.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage