+ 2

For loops help

Someone knows for what reason that code don't work? https://code.sololearn.com/WlTIZqMsmRhO/?ref=app

30th Jan 2018, 4:25 PM
Vinicius Rocha Perrud
Vinicius Rocha Perrud - avatar
4 Answers
+ 16
I think u must write d - - or d=d-1 in place of d-1 //tag is java , so i comed here
30th Jan 2018, 4:28 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
why do you use loop here?
30th Jan 2018, 4:39 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 2
Work, thanks. I'm using to writte a other code. https://code.sololearn.com/We0u0OWKEs9T/?ref=app
30th Jan 2018, 5:34 PM
Vinicius Rocha Perrud
Vinicius Rocha Perrud - avatar
+ 2
great
30th Jan 2018, 5:42 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar