+ 1
Please I need help whit this code 😞
3 odpowiedzi
+ 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 🤩