← Back to If Statements
Question 209
Pass or Fail (Practice)
Pass or Fail (Practice)
An exam is graded on a scale from 0 to 100. A score of 60 or higher passes; anything below 60 fails. Read one integer score and print Pass or Fail. Remember that exactly 60 should count as a pass, so choose your comparison operator carefully.
Expected Output:
Pass= newline. No newline after the last line.
Hints3 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 (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.