Main.java:15: error: cannot find symbol
IO.output("Enter the width of the triangle: ");
^
symbol: variable IO
location: class Ideone
Main.java:16: error: cannot find symbol
w=IO.inputFloat();
^
symbol: variable IO
location: class Ideone
Main.java:17: error: cannot find symbol
IO.output("Enter the height of the triangle: ");
^
symbol: variable IO
location: class Ideone
Main.java:18: error: cannot find symbol
h=IO.inputFloat();
^
symbol: variable IO
location: class Ideone
Main.java:19: error: incompatible types: possible lossy conversion from double to float
a=(w*h)/2.0;
^
Main.java:20: error: cannot find symbol
IO.outputln("The triangle area = "+a);
^
symbol: variable IO
location: class Ideone
6 errors