Question: Still getting error with red X oject Run Wndow Helo clipse-workspace - Ass 3/sre/Assignment .Assignment3.java public class Assignment3 15 17 18 19 20e // print

Still getting error with red "X"  Still getting error with red "X" oject Run Wndow Helo clipse-workspace

oject Run Wndow Helo clipse-workspace - Ass 3/sre/Assignment .Assignment3.java public class Assignment3 15 17 18 19 20e // print below is my Assignment3 Ioboootokooceopoeoo public static void main(Stringl] args) 21 22 823inport Java.util.Scanner 24 225 Scanner in new Scanner(System.in) 26 27 28 29 30 31 32 System.out print ("Enter a number(1-9999): "): int num in.nextInt) int thousands num/1000; int hundreds (nums1800)/10 int int ones -(num10); 34 35 36 37 38 ten s {num100)/10; = 29 systen.out.printin("Thousands): "t thousands): 41 42 System.out.print In("Hundred(s): "+ hundreds): 42 Systen.out.print Inf "Ten(s): ", tens): 45 System.out.print In("One(s): "+ ones): Problems Javado Declaration @ console 3 sterminateds Chap2Project (Java Applicationl /Libraryava/JavaVrtualMachines/jak-11.0.2,jok/Contents/Homebin Exception in thread "main" java. Lang.Error: Unresolved compilation problems: Syntax error on token import", assert expected java utit.Scanner: cannot be resolved to a variable Scanner:cannot be resolved to a type Scanner cannot be resolved to a type at Chap2Project,maintchan2Proiectelava:24)

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!