Question: Visual Basic Please do a screen shot of the program and code In this assignment, you are asked to create a small program that will

Visual Basic

Please do a screen shot of the program and code

In this assignment, you are asked to create a small program that will calculate a semester grade point average using arrays. This is to give you familiarity with the concept. It is not meant to be tedious.

Your task is as follows:

Design a form that has five buttons: homework, tests, quizzes, projects, and calculate. At the outset, you should only see the homework button. As you progress, make the next button visible.

When you press a button for the grading areas, you are prompted to enter grades for each area. Do this with an input box inside of a for loop. Store each value to the next spot in the array. If you do not enter a number, make it input -1. In other words, you are making the grade not there. The class has 10 homework assignments, 3 tests, 6 quizzes, and 1 project.

When you get to the calculate button, your goal will be to count the number of submitted grades in each category and calculate the grade for the semester, outputting that information in a message box. If the number -1 shows up, do not count it. For purposes of averaging, count it as a 0.

Homework is 30% of the grade, quizzes are 30% of the grade, tests are 30% of the grade, and the project is 10% of the grade.

Use a select case block to assign the letter grade.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!