Submit | All submissions | Best solutions | Back to list |
Problem hidden
DIVISION12 - DIVISION |
Write a program to determine if the given number is divisible by 2 ,3 ,4 ,5 ,8 ,9 or 10 using switch case and without using modulo or division operator.
Input :-20
Output :- Number is divisible by 2
Number is divisible by 4
Number is divisible by 5
Number is divisible by 10
Added by: | Prafful |
Date: | 2016-02-21 |
Time limit: | 1s-10000s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 GOSU JS-MONKEY |
Resource: | Own Creation |