Question: Discussion in programming using visual basics. Determine the output in the text box for 9. Identify the errors and correct the block of code for

9. Private Sub btnCompute_Click(...) Handles btnCompute.Click Dim msg As String = "You are old enough to vote" Dim dateofBirth As Date = CDate (InputBox ("Enter your date of birth.")) If dateofBirth. AddYears (18)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
