Write a Java program that:
1. Prompts a user to enter customer id, the unit price in this format (e.g. 3.75), quantity (as a whole number), product description, and discount in this format (e.g., .10) (use Scanner for input).
2. Calculates the customer's overall order total before and after the discount.
3. Displays the input data along with the order total before and after the discount to the console.

Q&A Education