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