Question: fix the error please java 3 5 6 7 8 9 LO 11 class Main { public static void main(String[] args) { int x =

 fix the error please java 3 5 6 7 8 9
fix the error please java

3 5 6 7 8 9 LO 11 class Main { public static void main(String[] args) { int x = 20; if(x>30){ System.out.println("X is more than 30"); } else { System.out.println("x is less than 30"); } 12 13 14 15 16 17 18 19 20 21 22 // part 2/7 java.util.Scanner input = new Scanner(System.in); System.out.println("Enter a number: "); int h = input.nextInt(); if(>=h && h=60) { System.out.println(" You passed "); }else{ System.out.println(" You failed "); } } else { System.out.println(" Error!!! scores must be between 0 - 100 "); 3 } 23 24 25 26

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!