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

24. Ask the user for an integer input, assign it to a variable, check if it is divisible by 5, and print 'Divisible by 5' or 'Not Divisible by 5'.

Expected Output:

'Divisible by 5' or 'Not Divisible by 5' depending on user input

Test Cases

Test Case 1:

Input:

25

Output:

Divisible by 5

Test Case 2:

Input:

11

Output:

Not Divisible by 5

Test Case 3:

Input:

0

Output:

Divisible by 5

Test Case 4:

Input:

-15

Output:

Divisible by 5

⌛ Waiting for execution...

VedPad

Font
Loading...

Your Output