Main.java:4: error: cannot find symbol
Scanner scanner = new scanner (System.in);
^
symbol: class scanner
location: class Main
Main.java:5: error: cannot find symbol
String str = scanner.next.Line();
^
symbol: variable next
location: variable scanner of type Scanner
Main.java:10: error: no suitable method found for println(String,double)
System.out.println("%.2f", doubleValue);
^
method PrintStream.println() is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(boolean) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(char) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(int) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(long) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(float) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(double) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(char[]) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(String) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.println(Object) is not applicable
(actual and formal argument lists differ in length)
3 errors