+ 1
https://code.sololearn.com/cg1qEmwZ4Oit/?ref=app
Where have I went wrong?
8 Answers
+ 3
Astrophile You have type error in
System.out.println("Adult"); // not ptintln
+ 2
Save code in playground and share link here....
The code is cut off...
+ 2
Thank u so much Jayakrishnađźđł and Gojo Saturo
+ 1
Astrophile
Syntax error :-
See line no. 14
You have written ptintln instead of println
just replace t with r, it will run with no errors
The line should be : System.out.println("Adult");
Hope it helps
Have a good day ;)
+ 1
Astrophile you're welcome..
0
The curly braces at the end
the scanner object should add () at the end
0
Whats is code please help me
And i will learn codig