Shelly Jones, the manager of Pennington Book Store, wants an application that she can use to calculate and display the total amount a customer owes. Create the interface shown below. Assume that a customer can purchase one or more books at either the same price or different prices. The application should keep a running total of the amount the customer owes, and display the totaling the Total Due control. The system also produces a “paper” trail on disk of the transactions. This trail shows the Quantity and Price of each entry and then records the final total.
For example, a customer might purchase two books at $6 and three books at $10. To calculate the total due, Shelly will need to enter 2 in the Quantity box and 6 in the Price box, and then click the Add to Sale button. The Total Due control should display $12.00. To complete the order, Shelly will need to enter 3 in the Quantity box and 10 in the Price box, and then click the Add to Sale button. The Total Due should display $42.00. Before calculating the next customer’s order, Shelly will need to click the New Order button.