/* Paste your Exercise04_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. */