Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedin 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago