Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Problems/Problem_7/Problem_7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Write a program that asks for a number from the user and prints “YES!” if the number is divisible by 5, and it prints “NOPE!” otherwise, then modify it to also ask which number to check it with if divisible.

## example cases:

```
INPUT: 25

YES!

INPUT: 42

NOPE!
```

## second part:

```
INPUT: 4, 24

YES!

INPUT: 8, 42

NOPE!
```