Question: I Am In Intro Algorithmic Design I Need Help Doing This Program Ive Been Struggling With This For Some Days I Need Comments Throughout Coding

I Am In Intro Algorithmic Design I Need Help Doing This Program Ive Been Struggling With This For Some Days I Need Comments Throughout Coding And We Are Doing P 8.23

Picture says

Complete Business P8.23 (className: Customer, Shop)

Once complete, upload all .java files using link here in Moodle. Remember that proper commenting and Javadoc comments are a part of your grade.

Problem Statement: P8.23 Design a Customer class to handle a customer loyalty marketing campaign. After accumulating $100 in purchases, the customer receives a $10 discount on the next purchase. Provide methods:

void makePurchase(double amount)

boolean discountReached()

Provide a test program and test a scenario in which a customer has earned a discount and then made over $90, but less than $100 in purchases. This should not result in a second discount. Then add another purchase that results in the second discount.

I Am In Intro Algorithmic Design I Need Help Doing This Program

INCLASS:Customer Complete Business P8.23 (classHame: Customer, Shop) Once complete, upload all java tles using Ink here in Moodie Remember that proper commenting and Jeadoc comments are a part of your grade Problem Statement P8 23 Design a Customer class to hande a customer loyality marketing campaign After accumulating $100 in purchases, the customer receives a $10 discount on the nest purchase Pronde methods void makePurchase double amount) boolean discountResched Pro ide a test program and tesa a scena o that resuts in the second discount which a custo ef ha..an eddrscount and then made o er 90 buim than S100 in purchases This shald not it-a second dscount Then add another p nh

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!