+ 2

Can anyone tell me why this code is not working

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

5th Jan 2021, 9:48 AM
Yashraj Rastogi
Yashraj Rastogi - avatar
3 Réponses
+ 4
Modify In line 7 Scanner scan In line 11 modify printn to println
5th Jan 2021, 9:54 AM
Nihar Buliya
Nihar Buliya - avatar
+ 2
Try to check the error compiler gives and google them. You have just made typos though your code was correct
5th Jan 2021, 10:04 AM
Nihar Buliya
Nihar Buliya - avatar
0
Thank you Nihar Buliya
5th Jan 2021, 10:55 AM
Yashraj Rastogi
Yashraj Rastogi - avatar