This Visual Basic code counts the number of passing and failing grades entered by the user into a text box. It increments a pass counter for grades A-D and a fail counter for grades E-F. After 15 entries have been made, it displays the final pass and fail counts on two labels.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
32 views
Exercise 7
This Visual Basic code counts the number of passing and failing grades entered by the user into a text box. It increments a pass counter for grades A-D and a fail counter for grades E-F. After 15 entries have been made, it displays the final pass and fail counts on two labels.