Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in java DESCRIPTIONS OF PROBLEM: DanaStore, a cloth department would like to have a cash register program that can calculate sale for the store. The
in java DESCRIPTIONS OF PROBLEM: DanaStore, a cloth department would like to have a cash register program that can calculate sale for the store. The store has 4 departments contently Spring Sale Write a program contained a class Cash Register which has 4 uttributes department (typeint)description (type: String), discount (type: double) and total (type: double Table ! Department Description Discount Womens 20 Mens Sportswear Kids No discount 00 11 22 Practical SH. Hari Sen 171 Page 1 of 3 September 9, 2018 OBJECT-ORIENTED PROGRAMMING - CS162 SAMPLE OF OUTPUT: Enter iten detail: Department: 00 Quantity: 2 Price : 100 Price Total After $200.00 $160.00 Description Quantity Discount Womens 2 100 Another iten? (Yes - 1. No. ):> 1 Enter iten detail: Department: 11 Quantity: 1 Price 100 Quantity Price Total After Description Discount Mens 100 $100.00 565.00 e): Another iten? (Yes - 1. No Total purchase: $225.00
in java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started