Changed the scanner to Scanner and it says
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at Areaofasquare2.main(Areaofasquare2.java:8)
Type: Posts; User: ehren101
Changed the scanner to Scanner and it says
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at Areaofasquare2.main(Areaofasquare2.java:8)
Error message is as follows : Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Scanner cannot be resolved to a type
Scanner cannot be resolved to a type
...