Why does my code keep saying hello world when I run it

Question:

Current behavior:

Desired behavior

Repl link:

code snippet

Hey, @FranciscoMart50 welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

1 Like

https://replit.com/@csis-10a-fall-2023/Unit-9-Lab-B-Grade-Manager-FranciscoMart50#Grade.java

Is this repl private? If so, could you make it publicly available for a while so that we can help you solve your problem.

It’s a Teams for EDU team.

@FranciscoMart50 Rename your file to main.java. It’s the easiest way to get it to work.

3 Likes

okay how do I do that

Instead of what I told you to do, take advantage of @QwertyQwerty88 suggestion

2 Likes
2 Likes