Check Divisible By 12
Computer Mathematics
Medium
3 views
Problem Description
Given integer n, print YES if divisible by 12.
Input Format
One integer n.
Official Solution
Divisible by 12 means divisible by 3 and 4. Check n%3==0 and n%4==0.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!