Repeat Programming Project 10 of Chapter 2, but include input checking Display the change only if a

Question:

Repeat Programming Project 10 of Chapter 2, but include input checking Display the change only if a valid price is entered (no less than 25 cents, no more than 100 cents, and an integer multiple of 5 cents). Otherwise, display separate error messages for any of the following invalid inputs: a cost under 25 cents, a cost that is not an integer multiple of 5, and a cost that is more than a dollar.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: