Question: Visual Basic: Input Box with loop button click I'm needing help trying to code one button in this program. The button should have a loop

Visual Basic: Input Box with loop button click

I'm needing help trying to code one button in this program. The button should have a loop with an input box that allows the user to enter grades one by one. It should then call a GPA function that calculates the GPA. Each number entered should somehow be saved for further calculation. When the user clicks the close button on the input box, it should calculate the GPA and convert it, then display it in a textbox.

GPA = sum of grades / total number of grades entered

90-100 = 4.0

80-89 = 3.0

70-79 = 2.0

60-69 = 1.0

60> = 0

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!