|
|
/* Paste your Exercise01_01 here and click Automatic Check.
For all programming projects, the numbers should be double
unless it is explicitly stated as integer.
If you get a java.util.InputMismatchException error, check if
your code used input.readInt(), but it should be input.readDouble().
For integers, use int unless it is explicitly stated as long. */
|
|
|
|
We recommend that you use this tool to test the code. If your code is wrong, the tool will display your output and the correct output so to help you debug the error. Compile/Run is provided for your convenience to compile and run the code.
The extra exercises are available for instructors. Email y.daniel.liang@gmail.com
to request a copy of the extra exercises. |
|
|