Divisible By 9
Computer Mathematics
Easy
3 views
Problem Description
Check if a number is divisible by 9 and print YES/NO.
Input Format
One integer n.
Official Solution
Compute n % 9. If 0 then YES else NO.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!