Run Time Error in Java

I’m a beginner in this site and I don’t understand why my submitted code has a runtime error? I tried it already in my pc and the program was runnin.

Welcome to CodeChef :wink:

First problem is that your class is in codechef package. Put in so called default package.

There is also problem with statements like:

System.out.println("Enter the number of rounds:");

please read FAQ to find out why - FAQ | CodeChef

Good luck

2 Likes

I see… thanks… :slight_smile: