Question: visual Basic Write a Visual Basic .NET program to determine a student GPA. The following information will be entered by the user: 5Marks Student ID

 visual Basic Write a Visual Basic .NET program to determine a

student GPA. The following information will be entered by the user: 5Marks

visual Basic

Write a Visual Basic .NET program to determine a student GPA. The following information will be entered by the user: 5Marks Student ID Student Name Course Code (e.g., COMP2105) Course Credit Hours (e.g., 3) Course Grade (e.g., B+) using a textbox using input box using textbox using textbox using list-box The user can add a new course by clicking the Add Course button after filling all information. Each time a new course is added the student GPA will be calculated and displayed as shown in the sample run. A student GPA is calculated using the following equation: 5Marks 4.0 Grade Points Table: A C+ 2.3 A- 3.7 2.0 B+ 3.3 C- 1.7 B 3.0 1.3 B- 2.7 D 1.0 F 0.0 Course Credit Hours * Course Grade Course Credit Hours GPA = D+ . . Important Notes: Once the student ID is entered, textbox cannot be empty and it will be disabled. Mark Read the student name (using input-box) before it continues. 1 Mark If no name was entered, the program will assume the default "" in the name area. 1Mark Course codes must be converted to upper case 1Mark The Grades list allows selecting one grade ONLY I Mark Course grade and GPA must be displayed with 3 decimal places 1 Mark Output formatted and aligned as shown in the sample run 1 Mark Once a course is added, the previous entries (i.e., Course Code, Credits & Grade) should be cleared to allow entering a New course for the same student IMark The Clear button can be used to clear all entered data for the current student so that the user can enter a new student (i.e. ID, Name & courses details) 1Mark The program will end when the Exit button is clicked 1Mark . . Sample Run: X GPA Calculator Enter Student ID# (e.g. 12345): 91111 Student Name: Enter Course Code (e. Input X Ente Enter Student Name: OK Cancel Ali Mohammed Salem Add Course X GPA Calculator Enter Student ID# (e.g. 12345): 91111 Student Name: Al Mohammed Salem Enter Course Code (e.g. COMP2105): BIOL4404 Enter Credit Hours: 3 Entered Course(s): COMP2101 4 B MATH3210 3 C+ ARAB1000 2 A- COMP2105 3 B+ Choose Grade: A- B+ B C+ Add Course Clear Exit Overall GPA: 3.017

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!