|
|
|
|
|
|
Read This
|
|
/* Paste your Exercise13_21 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.nextInt(), but it should be input.nextDouble().
For integers, use int unless it is explicitly stated as long. */ |
|
|
|
|
|
|
Click Automatic Check to test your 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 on the Instructor Resource Website. We would like to hear from you. Please send to your comments, suggestions, and corrections for everything in this book to Dr. Liang. |
|
|