By the way here is the code that I am trying to run.
//AreaOfBoxes.java
import tio.*;
class AreaOfBoxes {
public static void main(String[] args ) {
int length, width, height;
System.out.println("\n\nThis program will give you the area of a box.");
System.out.println("All that I need from you is the length, width and
height,");
System.out.println("and I'll do the math.");
System.out.println("\n\nPlease enter the width.");
width = Console.in.readInt();
System.out.println("Please enter the height.");
height = Console.in.readInt ();
System.out.println("Please enter the length.");
length = Console.in.readInt();
System.out.println("The area of your box is.");
System.out.println(height * length * width+" squared " );
}
}
--------------------------- Compiler Output ---------------------------
AreaOfBoxes.java:2: Package tio not found in import.
import tio.*;
^
1 error
Double click on the line with file name
and error number to locate the error.
--
Posted from IDENT:qmailr@mail1.stofanet.dk [212.10.10.6]
via Mailgate.ORG Server -
http://www.Mailgate.ORG