W.A.P a program to accept a no and check whether the no is divisible by 3or5 by both or none | SoloLearn: Learn to code for FREE!

-2

W.A.P a program to accept a no and check whether the no is divisible by 3or5 by both or none

1/17/2021 1:06:27 PM

Desai

4 Answers

New Answer

+5

Please show your attempt Desai .

+3

Desai Post your attempt and tag your Programming language ...

+3

Desai It seems your question appears to be an assignment. Please show us your attempt and use the 8 rules to get help from the community. https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community *can be a code coach solution which is meant for you to do to help you establish your skills abilities and where you need to learn... not the community *one issued by a school or other institution *one issued or created by another platform *one that appears to be in the form of a challenge that was created by you or somewhere else. Your question will be reviewed by a team of moderators and will most likely be marked for deletion. https://www.sololearn.com/Discuss/1316935/?ref=app

+2

Hint: Modulo arithmetic is your friend here. Look at how to use the modulus operator '%' in whichever language you are using, since you failed to mention one.