4. Which command allows us to perform a secondary action if the first expression mention
5. It tests a condition, if it is true the computer follows this statement given after the word
with the IF was false:
(a) ELSEIF
(c) None
(b) IFELSE
Answers
Answered by
0
Answer:
C) is the right answer but i am not sure
Answered by
2
Given:
Which command allows us to perform a secondary action if the first expression mentioned with the IF statement was false?
Answer:
The correct option is (a) ELSEIF
ELSEIF command allows us to perform a secondary action if the first expression mentioned with the IF statement was false.
Example
Dim x As Integer
Cls
Input "Enter Marks : ", x
If x >= 90 Then
Print "Excellent"
ElseIf x >= 70 Then
Print "Good"
ElseIf x >= 50 Then
Print "Improvement"
Else
Print "Fail, Work hard"
End If
End
Similar questions