PROGRAMMING_ CashierApplication 10 Hands-on Activity 1. Create a simple cashier system Windows application. Name the project as CashierApplication and the form as frmPurchaseDiscountedItem:
PROGRAMMING_ CashierApplication 10 Hands-on Activity 1. Create a simple cashier system Windows application. Name the project as CashierApplication and the form as frmPurchaseDiscountedItem: • Get th e item to purchase, price, discount, and quantity; • Compute the total amount to purchase; • Get the amount of payment then compute the change. Notes: • To convert the discount value into a double type, multiply the discount with 0.01 (discount * 0.01). • To compute the discounted price, multiply the discount with the regular item price (32% * price), then subtract the result from the regular price (discounted price = price * result); • Use the Convert.ToDouble() and Convert.ToInt32() methods to convert the texts into double or integer types. 2. The application should contain two (2) separate classes: Item and DiscountedItem. The DiscountedItem class should inherit from the Item class. Make these classes as members of the namespace named ItemNamespace. Refer to the UML class diagram in Figure 1 for the required class members.
Written for
- Institution
- PROGRAMMING_ CashierApplication
- Course
- PROGRAMMING_ CashierApplication
Document information
- Uploaded on
- April 17, 2023
- Number of pages
- 9
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
programming cashierapplication 10 hands on activity 1 create a simple cashier system windows application name the project as cashierapplication and the form as frmpurchasediscounteditem