cant pass a course maybe bug?
You are making an automated response program for a store. The bot should take a number from the user as input and reply with an automated message. There are currently 3 responses, that you need to a handle: User message: "1", Reply: "Order confirmed" User message: "2", Reply: "info@sololearn.com" For any other number, the reply should be: "Try again". The given code calls a method called bot(). Define the method, which should take an integer input from the user, and handle the above mentioned cases, by outputting the corresponding reply. Do not change the method call in main(). my code is import java.util.Scanner; public class Program { public static void main(String[] args) { bot(); } public static void bot(){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); switch(num){ case 1: System.out.println("Order Confirmed"); break; case 2: System.out.println("info@sololearn.com"); break; default: System.out.println("Try again"); } } } case 4 is locked and the solution is kinda the same... any explaination?