+ 1

Facing an issue with For loop in java

https://code.sololearn.com/c3Z1K1I29Fjz/?ref=app Please tell me the reason why it is showing 'No Output'.

29th Jun 2020, 3:59 PM
SHIVANSH
SHIVANSH - avatar
2 Answers
+ 2
In for loop condition is problem. Change == as <= then it work's well. no output because conditions (==) was returns false so loop exit.
29th Jun 2020, 4:04 PM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 1
Thank you very much
29th Jun 2020, 4:08 PM
SHIVANSH
SHIVANSH - avatar