Question: O 1 . Murtiples of three and five Problem Statement If n ' is a multiple of 3 , print 1 . If none of

O1. Murtiples of three and five
Problem Statement
If n' is a multiple of 3, print 1.
If none of the above rules match, print 0.
Ensure that you do not print any additional gresting messages in your output.
Example:
Input:
16
Output:
0
Explanation: 16 is neither a multiple of 3 or 5, hence the aurpuc is 4.
Sample input
15
mple Output
tructions :
 O1. Murtiples of three and five Problem Statement If n' is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!