- Home
- Bengal Math Curriculum
- Statistics Help
- Statistics Consulting
- Popular Services
- *99 Cents for 1 Math Problem
- Statistics Help
- Statistics Solutions
- Statistics Symbols
- Statistics Lecture Notes
- Statistics Class Notes
- Hire Freelancer - xlance Alternative
- Math Olympiad
- Free Accounting Homework Help
- Free Business Math Homework Help
- Free Programming Homework Help
- Free Finance Homework Help
- Free Economics Homework Help
- Free Chemistry Homework Help
- Free Biology Homework Help
- Free Management Homework Help
- Free Engineering Homework Help
- Free Chemical Engineering Homework Help
- Free Mechanical Engineering Homework Help
- Free Computer Science Homework Help
- Free Bioinformatics Homework Help
- Free Calculus Homework Help
- Free College Homework Help
- Get One Month Coaching ($149)
- Math Curriculum(High Expectation)
- 1-On-1 Coaching
- Accounting Solutions
- Bioinformatics Solutions
- Biology Solutions
- Business Math Solutions
- Calculus Solutions
- Chemical Engineering Solutions
- Chemistry Solutions
- Computer Science Solutions
- Economics Solutions
- Engineering Solutions
- Finance Solutions
- Management Solutions
- Mechanical Engineering Solutions
- Programming Solutions
- Donate
- Almost FREE Service
- Chat Core Dump
- WhiteBoard Sessions
- Submit Math Problems
- Checkout Math Solutions
- Sample Math Video
- College Textbooks
- College Courses
- Coursera Courses
- edX Courses
- Give Gift Certificates to Your Loved One
- Get a Scholarship
- Tell a Friend
- *Online Math Help ($16 per Hour)
- Vedic Maths
- Home Schooling
- Community College Math
- Online Degree Program
- Blog
- We are in News
- FAQ
- Contact Us
- Privacy Policy
- Terms & Condition * Restrictions Apply

- Home
- *99 Cents for 1 Math Problem
- Statistics Help
- Statistics Solutions
- Statistics Symbols
- Statistics Lecture Notes
- Statistics Class Notes
- Hire Freelancer - xlance Alternative
- Math Olympiad
- Free Accounting Homework Help
- Free Business Math Homework Help
- Free Programming Homework Help
- Free Finance Homework Help
- Free Economics Homework Help
- Free Chemistry Homework Help
- Free Biology Homework Help
- Free Management Homework Help
- Free Engineering Homework Help
- Free Chemical Engineering Homework Help
- Free Mechanical Engineering Homework Help
- Free Computer Science Homework Help
- Free Bioinformatics Homework Help
- Free Calculus Homework Help
- Free College Homework Help
- Get One Month Coaching ($149)
- Math Curriculum(High Expectation)
- 1-On-1 Coaching
- Accounting Solutions
- Bioinformatics Solutions
- Biology Solutions
- Business Math Solutions
- Calculus Solutions
- Chemical Engineering Solutions
- Chemistry Solutions
- Computer Science Solutions
- Economics Solutions
- Engineering Solutions
- Finance Solutions
- Management Solutions
- Mechanical Engineering Solutions
- Programming Solutions
- Almost FREE Service
- Chat Core Dump
- WhiteBoard Sessions
- Submit Math Problems
- Checkout Math Solutions
- Sample Math Video
- College Textbooks
- College Courses
- Coursera Courses
- edX Courses
- Give Gift Certificates to Your Loved One
- Get a Scholarship
- Tell a Friend
- *Online Math Help ($16 per Hour)
- Vedic Maths
- Home Schooling
- Community College Math
- Online Degree Program
- Blog
- We are in News
- FAQ
- Contact Us
- Privacy Policy
- Terms & Condition * Restrictions Apply

Statistics Help

**Question: **The Casual Corner is having a seven-day sale during which the price of any unsold item drops 5 percent each day.

Design a class diagram showing the class, the application program, the relationship between the two, and multiplicity. Then write the Java code as described below. Be sure to follow the CTP 115 Style CriteriaPreview the document for naming conventions, class diagrams, pseudocode, keywords, and operators.

A Sweater class that contains:

an item number and the original price of the item.

Include the following:

A default constructor that initializes each attribute to some reasonable default value for a non-existent inventory item.

Another constructor method that has a parameter for each data member, called the overloaded constructor. This constructor initializes each attribute to the value provided when an object of this type is instantiated. Be sure to incorporate adequate error checking for all numeric attributes.

Accessor and mutator methods for each attribute. Be sure to incorporate adequate error checking for all numeric attributes.

An application program that contains two methods: the main() module and the printSweaterData()module.

The main()module must do the following:

create an Sweater object using the default constructor.

Use a loop to get sweater items from the user. The user should enter the item number and the original price of the item. This loop should continue until the user indicates that they have no more items to enter. For each item entered by the user, the code inside the loop should do the following 2 items:

set the attributes of the Sweater object by calling the appropriate method in the Sweater class for each item entered by the user.

Send the Sweater items, one at a time, to the printSweaterData() module for processing.

The printSweaterData()module must accept a Sweater object and produce a report that shows the item number and the price of an sweater item on each day of the sale, one through seven, using a loop. For example, an item with an original price of $10.00 costs 5 percent less, or $9.50, on the first day of the sale. On the second day of the sale, the same item is 5 percent less than $9.50, or $9.02.

Sample Output MAY look like this:

Sweater Item Number Day Price

12345 1 $10.00

12345 2 $9.50

12345 3 $9.02

and this will continue through day 7. Edit

**TutorTeddy.com & Boston Predictive Analytics**

[ Email your Statistics or Math problems to **help@teddycan.com** (camera phone photos are OK) ]

Boston Office (Near MIT/Kendall 'T'):

Cambridge Innovation Center,

One Broadway, 14th Floor,

Cambridge, MA 02142,

Phone: 617-395-8864

Dallas Office (Near Galleria):

15950 Dallas Parkway,

Suite 400,

Dallas, TX 75248,

Phone: 866-930-6363