+ 1

Why sometimes there is word "No output"? I did that random numbers be from 1 -3 but it still shows "No output".

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

14th Jul 2018, 1:35 PM
Rytis Karalius
Rytis Karalius - avatar
4 Respostas
+ 1
Don't use three different variables. Use only one variable and check for its value. If for example a=3 b=1 c=2 all checks will return false and therefore no output
14th Jul 2018, 1:38 PM
Matthias
Matthias - avatar
+ 3
check it out your code never had a chance to be option c https://code.sololearn.com/c7CFwHZc8yv0/?ref=app
14th Jul 2018, 1:49 PM
StealthyTaco
StealthyTaco - avatar
+ 2
Thank you very much : )
14th Jul 2018, 1:47 PM
Rytis Karalius
Rytis Karalius - avatar
+ 1
Robert Atkins Thank you really helped :)
14th Jul 2018, 1:54 PM
Rytis Karalius
Rytis Karalius - avatar