0

Sometimes,the java playground shows NoOutput..

I was using the Scanner utility from java..and applied an IF method..as well a printIn method to print Hello when the input is !<18...firstly i had made mistakes..but after solving them up,i saw a "no output" message on the output screen..Plz let me know the cause...Thank you

13th Jul 2017, 7:33 PM
Sohaib Aftab
Sohaib Aftab - avatar
2 Answers
+ 1
oh i see! That's why it seemed like i had seen different results for the same code the next time...Thanks Sir,i shall keep this in mind.
13th Jul 2017, 7:55 PM
Sohaib Aftab
Sohaib Aftab - avatar