+ 1

Can you help me to fix this code? It wont work.

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

12th Aug 2019, 1:37 PM
-DSaus-
-DSaus- - avatar
5 Antworten
+ 1
Sure thing, you're welcome.
12th Aug 2019, 1:46 PM
Shadow
Shadow - avatar
+ 4
On line 12 and 14 you need to place the semicolon not after the closing bracket of the if-statement, but after the instruction inside that if-statement. Fixing that will make if work.
12th Aug 2019, 1:44 PM
Shadow
Shadow - avatar
+ 2
Shadow Thanks!
12th Aug 2019, 1:45 PM
-DSaus-
-DSaus- - avatar
+ 1
Without showing us your code, there is nothing to fix in the first place, though.
12th Aug 2019, 1:40 PM
Shadow
Shadow - avatar
+ 1
Shadow sorry, i forgot
12th Aug 2019, 1:41 PM
-DSaus-
-DSaus- - avatar