0

I need help

I don’t understand why only “3” is displayed, and “7” is not, although 7=7 https://code.sololearn.com/c5xv9xOJvNs7/?ref=app

19th Nov 2022, 10:25 PM
Maxim Prontenko
2 Answers
0
Consider the 2nd if-statement. If num = 7, then 7 < 5 is false. So the part nested inside this if-statement will not be reached.
19th Nov 2022, 10:31 PM
Lisa
Lisa - avatar
0
Thank you so much! Im break my mind when try to do this)
19th Nov 2022, 10:35 PM
Maxim Prontenko