Question: Java DESCRIPTIONS OF PROBLEM: DanaStore, a cloth department would like to have a cash register program that can calculate ale for the store. The store
Java DESCRIPTIONS OF PROBLEM: DanaStore, a cloth department would like to have a cash register program that can calculate ale for the store. The store has 4 departments currently Spring Sale Write a program contained a class Cash Register which has 4 attributes department type int, description (type: String). discount etype: double) and total (type double) Table Department Description Discount 00 Wome Mens 35 Sportowe SO Kade Ne discount 11 13 Practical S.M. Hori S 171 Page 1 of 3 September 9, 2018 OBJECT-ORIENTED PROGRAMMING-CS103 SAMPLE OF OUTPUT: Enter iten detail: Department: 00 Quantity: 2 Price : 100 Price Total After $200.00 $160.00 100 Description Quantity Discount Womens 2 Another iten? (Yes - 1, No. 6):> 1 Enter iten detail: Department: 11 Quantity: 1 Price: 100 Quantity Description Discount Mens Price Total After $100.00 $65.00 100 Another iten? (Yes - 1. No-) Total purchase: $225.00 Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
