Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a VB console application GradeArray to do statistics for the grades of a class. Your program is expected to fulfill the following requirements: 1)

Create a VB console application GradeArray to do statistics for the grades of a class. Your program is expected to fulfill the following requirements: 1) Define a constant to hold class size, e.g., SIZE_OF_CLASS, initialize it to be 6. Then in the rest of your program, use the constant whenever you refer to the class size. Your program should not explicitly contain the number 6 (or 5) except the place you define the constant. 2) Use array to store the grade (double type) for the class. 3) Ask user to enter the grades for the class. If a grade entered is out of bound, e.g., lower than 0 or higher than 100, give user opportunity to reenter that grade 4) After all the grades have been entered, print out all the grades. 5) Then display the average, highest, and lowest grade of the class 6) You program should yield a test-run same as shown below. 7) Use For loops whenever applicable, and use GetUpperBound() whenever applicable! 8) Test your grogram with the following input: 68 enter 78 enter 106 enter 96 enter -82 enter 82 enter 74 enter 78 enter

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions

Question

How does the Internet change consumer and supplier relationships?

Answered: 1 week ago