Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
You need to know if a number is divisible by each of a group of other numbers. If you are given the number and the group of other numbers, you will test to make sure that it is divisible by all of them.
Test your number against all of the other numbers that you are given to make sure that it is divisible by them.
Two inputs: an integer value (the number you are testing) and a string of variable length of the integers that you should test against separated by spaces.
A string that says ‘divisible by all’ or ‘not divisible by all’.
100
2 5 10
divisible by all
100 is divisible by 2, 5, and 10.
Language | Solution |
---|---|
C | not available |
CPP | not available |
C# | not available |
Python | available |
Java | not available |
Ruby | not available |
Swift | not available |