Programming > CODING SOLUTION > PROGRAMMING_ CashierApplication 10 Hands-on Activity 1. Create a simple cashier system Windows appli (All)
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. [Show More]
Last updated: 1 year ago
Preview 1 out of 9 pages
Connected school, study & course
About the document
Uploaded On
Apr 18, 2023
Number of pages
9
Written in
This document has been written for:
Uploaded
Apr 18, 2023
Downloads
0
Views
82
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·