Originally posted by hipopony66

I get errors on the following lines when I try to compile. I'm using jdk1.5.0
Code:
Scanner scan = Scanner.create(System.in);
This gives the error on the "." between Scanner and create. It says I gave a value and a class is expected.

Also the following code gives an error on the "-" sign:
Code:
recovertime = repcost/(oldopcost - newopcost)
[/B]
On the first error I think you need to do something like this:

Code:
Scanner stdin = new Scanner(System.in);
On the second error it looks as if you are missing semicolon[;].

I don't know if this will help or not. I can't test it because I haven't downloaded sdk 1.5 yet.