Ask coding questions

← Back to all posts
ForestgreenSturdyBackslash
vivisoaressilva (1)

questão1

Commentshotnewtop
Mooopy (61)

What do you need help with here exactly?

For one, it looks like you are trying to write a Java program in a JavaScript r.e.p.l. Maybe you mistook it for a Java r.e.p.l, which is understandable. Repl.it does support Java, so you can create a Java r.e.p.l very easily.

Otherwise, I advise you to look at your code since I notice many syntax errors, such as line 29 where you type "ot" instead of "out". In addition, I don't believe you can use the character "ã" in a class name, which you attempt to do on line 12.

(If you need this translated, use Google Translate / Se você precisar traduzir isso, use o Google Tradutor)