the switch statement
hello everyone in the community, i'm having a problem doing the java switch statement quick test. this is my code but i only have 3 part of the quiz doing good and i need have all fine for approved // your code goes here switch (emotion){ case 1: System.out.println("You are happy!"); break; case 2: System.out.println("You are sad!"); break; case 3: System.out.println("You are angry"); break; case 4: System.out.println("You are surprised"); break; default: if (emotion > 4 || emotion <1 ){ System.out.println("Unknown emotion."); } } } }