switch statement problem
package voting_age_using_switch_statement; import javax.management.Attribute; import java.util.Scanner; public class voting_age_using_switch_statement { public static void main(String[] args) { System.out.println("enter your "); Scanner scanner1 = new Scanner(System.in); int marks = scanner1.nextInt() ; switch (marks) { int x = marks /100; case 1 ( =>100 && >90 ) System.out.println("excellent thats "); System.out.print(x); System.out.print("accuracy"); break; case 2 ( =>89 && >=79 ) System.out.println("good!! but can be better "); System.out.print(x); System.out.print("% accuracy"); break; case 3 ( >=78 && >=69 ) System.out.println("obove average thats "); System.out.print(x); System.out.print("% accuracy"); break; case 4 ( >=68 && >=59 ) System.out.println("average "); System.out.print(x); System.out.print("accuracy"); break; case 5 ( >= 58 && >= 49 ) System.out.println("excellent thats "); System.out.print(x); System.out.print("accuracy"); break; case 6 ( >=48 && >= 39 ) System.out.println("you barely passed "); System.out.print(x); System.out.print("accuracy"); break; case 7 ( >= 38 && >= 29 ) System.out.println("excellent thatâs a failure "); System.out.print(x); System.out.print("accuracy"); break; case 8 ( >= 28 && >= 19 ) System.out.println("excellent thatâs a royal failure "); System.out.print(x);