0

Help find the problem in this code.

This code has a problem in it's line Syntex. Please help to identify it and solve the problem. https://code.sololearn.com/c29e0KO0EOIv/?ref=app

9th Dec 2022, 2:59 PM
Adedamola Adegboye
Adedamola Adegboye - avatar
1 Answer
+ 1
You are doing a JavaScript code in a Java compiler. (Many of us have made that mistake) You need the Web compiler on Sololearn and write your code under the tab for JavaScript.
9th Dec 2022, 3:50 PM
Ausgrindtube
Ausgrindtube - avatar