CJCoding With Joseph
15free / daySign inCreate account

Pass Or Fail At Fifty

Read a mark out of 100 and print Pass when it is 50 or more, otherwise Fail. Input: one integer, the mark, no prompt. Output: one word. The if and else headers are given; fill in the body of each branch.

Expected Output:

Pass

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
If Statements
📥 Auto-Input:
50\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.