Question: please assist using c++ You are developing software for a store which rents ott DVDs. Customens may rent more than one DVD at a time.

please assist using c++ You are developing software for a store whichplease assist using c++

You are developing software for a store which rents ott DVDs. Customens may rent more than one DVD at a time. The charge for a rental is determined by a formula that is based oa the number of days that the DVD has been rented for, and the DVD's classification. Currently there are three classifications: New Release, Regalar and Children'. The rental charges are as follows: New Release DVDs A rate of R30 per day is charged. Regular DVDs R20 is chargod for a 1-day rental. The charge for each additional day is R. 15, Children's DVDs The charge is R.15 for a rental lasting elther one or two days. Additional days are charged at R15 per day. Is is important to note that the classification of a DVD may change over time but this will not happen "mid-rental". Cutomers earn "frequent renter points", whenever a DVD is rented. By default, one poiat is carned for each rental. However, an additional bonus point is earned when new releases are rented. Your task is to model the above problem uting an object-orlented approach and bearing in mind the need to create a flexible solution which can be easily extended to handle new clarsificarion rypes, and changes to the frequent renter point policy. Provide the complete code for producing a customer's statement based on the rentals that they have made. The statement should have the fosm shown in Listing 2. You may assume that you have the following function at your disposal: teeplatertypename To string convertTostring[T 1ten] // convert an itee of type T to a string Aental statenent for Jane Doe: The Snarfs R 150 Super s1ze Me R 80 Cinderetla: R 60 Total anount oved is 1.290. You earned 4 frequent renter points. Listing 2: Console ourpur showing a customer's statement. All DVDs were tented for 5 days. The Smurfs is dassified as a new release, Super Size Me is classified as a regular release, and Cinderella is classified as a Children's DVD

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!