+ 2

What is wrong with code

I just started learning java and this keeps giving me errors what's the problem https://code.sololearn.com/criHjQq2kP7y/?ref=app

18th Sep 2020, 2:21 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
4 ответов
+ 8
There's no error in this actually...you are asking user to input integer....but u haven't printed it I think,u ignored giving input or printing statements...
18th Sep 2020, 2:24 PM
chaithra Gowda
chaithra Gowda - avatar
+ 2
No error. But you missing to print taken value to see the output... Add this last.. System.out.println(joseph);
18th Sep 2020, 2:25 PM
Jayakrishna 🇮🇳
+ 2
Thanks
18th Sep 2020, 2:25 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar