6
3
u/kwilk1984 Sep 18 '21
Missing ) at the end of line 19.
There's also an undeclared variable at the end of line 17.
1
u/ljb9 Sep 18 '21
yeah why didn’t it throw an error before coming to line 19
1
u/kwilk1984 Sep 18 '21
Try writing your code in VS Code then pasting into whatever compiler you're using in your example.
2
u/steamngine Sep 18 '21
Download VS Code you cheapskate you, save your own life!
1
u/orbit99za Sep 18 '21
No man VSCODE is a luxury. Notepad ++
3
u/SpaceCowboyS01 Sep 18 '21
VSCODE is for guys. DEV is for tractors. Notepad++ is for men. Notepad is for real programmers.
2
1
1
0
1
1
1
28
u/metekillot Sep 18 '21
Missing parentheses at the end of line 19.