Hi! I am trying to learn Java and I got stuck to this step.
All I'm trying to do is that after making the choice I want the user to be sent again to the main menu.
A piece of the code is ``` System.out.println("\nYou got tired. Go back home\n1. Ok\n");
Scanner scanner = new Scanner(System.in);
int choice = scanner.nextInt();
if (choice == 1) {
//loopmenu();
} else {
System.out.println("You really have to go home -_- ");
} ```
I am trying basically to choose 1 and go back here --> check comments