Write an If ... hen statement that tests whether the value in the variable decGP
ID: 3797563 • Letter: W
Question
Write an If ... hen statement that tests whether the value in the variable decGPA is between 3.5 and 4.0. If the number is in that range, set the ext property for the 1blHonor Label object to "Dean's List." If a form opens and the first of three RadioButtons is checked within a GroupBox object, what happens to the first RadioButton object when you tap or click the second RadioButton object? Name the six relational operators and state the purpose of each operator. Write an If ... hen ... Else statement that assigns 65 to a variable named intSpeed if strHighway is equal to "405 Highway." Otherwise, assign 50 to intSpeed.Explanation / Answer
Answer 1
Dim decGPA As Decimal
If decGPA.Value > 3.5 < 4.0 Then
Label1.Text="Dean's List"
End If
Answer 2
If the second RadioButton object is checked the proprty value of first RadioButton changes from True to False. Before checking the second RadioButton the first RadioButton value must be True.
Answer 3
> Greater than
< Less than
= Equal to
>= Greater than or equal to
<= Less than or equal to
<> Not equal
Answer 4
Dim strHighway,intSpeed As Integer
If strHighway = 405 Then
intSpeed = 65
Else
intSpeed = 50
End If
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.