දන්න කෙනෙක් CODE එක දාන්නකෝ පුලුවන්නම්… 👌
Fashion house is in the business of selling apparels for last 10 years. They need to implement a software to bill their customers. The system should first ask user to login to the system by providing username and password. Once user login to the system user can add customers items by providing below details.
Product-code
Product-name
Product-discount
Product-quantity
Product-price
Cashiers can give bill discounts up to 15% when the bill value is between 15000-25000 when customers request for a discount. Customers will be getting a bill discount of 20% when the bill value is above 55000.
Once item is added to the list cashiers should be able to either update the quantity or remove the product from the list.
Cashiers should be able to print the final bill according to the given format You are supposed to implement the software by using functions.
Note : additional marks will be given when you have used proper methods and for the code optimizations.
Welcome to fashion house
———————————–
# name % qty price
P001 shirt 5% 2 3000
P004 short 10% 1 990
P010 shoes 0% 1 3500
————————————
Gross total xxxx LKR
Discount on products xxxx LKR
Disocunt on bill xxxx LKR
Net total xxxx LKR
————————————-
Thank you