← Back to If Statements
Question 261
Pass or Fail (Practice)
Pass or Fail (Practice)
Read a test score as a whole number and decide whether the student passed. A score of 60 or higher is a pass. Print "Pass" when the score is at least 60, otherwise print "Fail".
Expected Output:
Pass= newline. The output ends with a newline — print one after the last line.
Hints4 available
Sign in to use hintsTopics:
If Statements
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.