0

I try to excuse the greatest number - what's wrong in the code, mathematics it's right

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

27th Feb 2022, 3:23 PM
Jebreel Ziadna
Jebreel Ziadna - avatar
2 Answers
+ 6
Yeah, 10>0 is always true. But, you didn't check this for other variables. Try using loops instead
27th Feb 2022, 3:33 PM
Simba
Simba - avatar
+ 3
I think you want to determine the max of x, y and z? In your code you currently only check if x is greater than zero...
27th Feb 2022, 3:31 PM
Lisa
Lisa - avatar