0

Make a program that will ask for input numbers from users and check if the number is multiple of 3 and also multiple of 7.

5th May 2021, 3:50 AM
Jimmy
2 odpowiedzi
0
Let's see your attempt first, but I will give you a hint. If it MUST be a multiple of BOTH 3 and 7, then it must be a multiple of 21(7*3) so you only need one if statement there: num%21==0
5th May 2021, 4:29 AM
Chris
Chris - avatar
0
Where is your attempts ??
5th May 2021, 4:08 AM
TOLUENE
TOLUENE - avatar