https://code.sololearn.com/cg1qEmwZ4Oit/?ref=app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

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

Where have I went wrong?

6th Jan 2023, 7:17 PM
Astrophile
Astrophile - avatar
8 Answers
+ 3
Astrophile You have type error in System.out.println("Adult"); // not ptintln
7th Jan 2023, 9:15 AM
Jayakrishna 🇮🇳
+ 2
Save code in playground and share link here.... The code is cut off...
7th Jan 2023, 8:12 AM
Jayakrishna 🇮🇳
+ 2
Thank u so much Jayakrishna🇮🇳 and Gojo Saturo
7th Jan 2023, 9:26 AM
Astrophile
Astrophile - avatar
7th Jan 2023, 8:54 AM
Astrophile
Astrophile - avatar
+ 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 ;)
7th Jan 2023, 9:17 AM
五条悟 ♡
五条悟 ♡ - avatar
+ 1
Astrophile you're welcome..
7th Jan 2023, 10:22 AM
Jayakrishna 🇮🇳
0
The curly braces at the end the scanner object should add () at the end
6th Jan 2023, 8:10 PM
Ab SH
0
Whats is code please help me And i will learn codig
8th Jan 2023, 4:06 PM
Santo Sheikh
Santo Sheikh - avatar