In: Computer Science
1. The problem of multiples. Rashid Phumbhra has made important
contributions to astrological computing
based on the theory of multiples. In this problem you must design
an algorithm to identify whether a number is
multiple of 3, 5 and / or 7. That is, the algorithm receives a
number and must tell the user if the number is:
• only multiple of 3
• only multiple of 5
• only multiple of 7
• only multiple of 3 and 5
• only multiple of 3 and 7
• only multiple of 5 and 7
• multiple of 3, 5 and 7
• is not a multiple of 3, 5, or 7