Question: Question Three the program must be written in visual basics In GTUC, the semester/final mark for a course (100%) is calculated by summing the continuous
Question Three
the program must be written in visual basics
In GTUC, the semester/final mark for a course (100%) is calculated by summing the continuous assessment score (30%) and the final test score (70%). A computer program is needed to calculate and display the semester mark and the corresponding grade when the user enters a class score and an final test score for a student. The grading scheme for the course is as follows: Table 3. Grading system
| Semester score | Grade |
| 70 - 100% | A |
| 60 69% | B |
| 50 59% | C |
| 40 49% | D |
| 39 and below | F |
- Create a function with two parameters (continuous assessment score and final test score) to calculate and return the semester mark and the corresponding grade. [15 marks]
- Create a button Click event, which will call the function and pass the Continuous assessment score and final test score as parameters from the user and display the semester mark and the corresponding grade using textboxes. [15 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
