0

why does this program show an error?....,can u plz help..?? i got a test tomorrow

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

14th Apr 2017, 2:22 PM
Supriya
Supriya - avatar
3 Respostas
0
It's because of how the SoloLearn compiler works. Your package statement is correct but SoloLearn uses a different package name for their "code playground", so the package statement breaks the program.
23rd Apr 2017, 10:39 PM
Hassie
Hassie - avatar
+ 2
It's because you have "package program" on the top line. Remove that line and it's good to go :)
14th Apr 2017, 2:53 PM
Hassie
Hassie - avatar
0
thank you😊
23rd Apr 2017, 2:24 PM
Supriya
Supriya - avatar