<=Back
A programmer designed a visual basic interface that would capture details of a student as follows:
- Registration Number and Name through the use of text boxes.
-Age group in years (15-17,18-20,21-21-23) through the use of option buttons
- Gender (Male or Female) through the use of option buttons;
When the fields are entered and a command button are clicked, the program displays the registration number, name, gender and the statement “You are under age” if the age age group is 15-17 otherwise “you are mature” through the of a message box. (4 marks)
(i) Sketch the interface
(ii) Write a visual basic program to implement the interface.
 Viewed: 393 times
Share in: