+ 1

very basic. what is wrong in this code ?

https://code.sololearn.com/cfbj2Rx6jghZ

4th Sep 2018, 1:46 AM
Mido M. Konar
Mido M. Konar - avatar
3 Answers
+ 2
Remove the ; at the end of line 7
4th Sep 2018, 2:05 AM
hmysjiang🍀
hmysjiang🍀 - avatar
+ 1
the ; ends the for statement, so the compiler cannot find the variable t at line 9
4th Sep 2018, 2:13 AM
hmysjiang🍀
hmysjiang🍀 - avatar
0
thanks
4th Sep 2018, 2:11 AM
Mido M. Konar
Mido M. Konar - avatar