Please I need help whit this code 😞 | SoloLearn: Learn to code for FREE!

+1

Please I need help whit this code 😞

https://code.sololearn.com/cZHtA3uCpFuJ/?ref=app

6/17/2020 12:08:57 PM

Jorge E.

3 Answers

New Answer

+2

https://code.sololearn.com/cHWWw5ZC9AIY/?ref=app

+1

Jorge E. To check if number is divisible or not just check reminder if you get reminder 0 it means number is divisible otherwise not. So to get reminder use modulus operator % like this number % 2 == 0 && number % 3 == 0 or you can also say multiple of 6 (number % 6 == 0)

0

Thanks 🤩