Attention: Compiler Under Construction

⚠️ The compiler is still under construction. While executing, the output may sometimes match the expected result, but it could still show incorrect output. Please be aware of this.

⛔ Each test case is case-sensitive, so ensure that every letter is correctly capitalized or lowercase as expected.

VedPad

27. Ask the user for their marks (out of 100), assign it to a variable, and print 'Pass' if marks are 40 or more, otherwise print 'Fail'.

Expected Output:

'Pass' or 'Fail' depending on user input

Test Cases

Test Case 1:

Input:

85

Output:

Pass

Test Case 2:

Input:

39

Output:

Fail

Test Case 3:

Input:

40

Output:

Pass

Test Case 4:

Input:

25

Output:

Fail

⌛ Waiting for execution...

VedPad

Font
Loading...

Your Output