Which of the following programs displays a "passing grade" message if the score is 60 or above?
A. Display "Enter a test score: "
Input testScore
If testScore > 60 Then
Display "That is a passing grade."
End If
Display "End of program."
B. Display "Enter a test score: "
Input testScore
If testScore ==60 Then
Display "That is a passing grade."
End If
Display "End of program."
C. Display "Enter a test score: "
Input testScore
If testScore <=60 Then
Display "That is a passing grade."
End If
Display "End of program."
D. Display "Enter a test score: "
Input testScore
If testScore >=60 Then
Display "That is a passing grade."
End If
Display "End of program."
Answer: D
You might also like to view...
Case 13-2Jarrod is using Java to write binary search algorithms.Jarrod knows that if the length of his list is 4 to 7, the maximum number of steps needed to do a binary search is ____.
A. 1 B. 3 C. 4 D. 7
Describe what is involved in determining network needs.
What will be an ideal response?