Safe Division

PHP Easy 6 views
Back to Questions
Next Safe Array Index Easy N

Problem Description

Print a/b as integer. If b is 0, print DIVIDE_BY_ZERO.

Input Format

One line: a b.

Output Format

Quotient or DIVIDE_BY_ZERO.

Sample Test Case

Input:
10 0
Output:
DIVIDE_BY_ZERO

Constraints

|a|,|b|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next