Question 2

Private Sub Command1_Click() Dim side As Integer side = Text1.Text If Option1.Value = True Then Text2.

Text = side * side ElseIf Option2.Value = True Then Text2.Text = 2 * (side + side) End If End Sub

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.