What is the answer for y%x where 'x' is zero or a factor of 'y'? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

What is the answer for y%x where 'x' is zero or a factor of 'y'?

For this same question, the JS challenges accepts either 1 or 0

31st Dec 2016, 4:28 AM
Chirag Bhansali
Chirag Bhansali - avatar
2 Antworten
+ 3
many of the questions are incorrect in the challenges. For (50=x) , x++ it has 4 spaces in the blank
31st Dec 2016, 11:51 AM
Chirag Bhansali
Chirag Bhansali - avatar
+ 1
If x is a factor of y, I believe it's 0. But for x = 0, I don't think the answer is one of the two...
31st Dec 2016, 8:58 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar