Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c++ please write all the answers together in one code. ou have been contacted by an enterprising student, Beatrix kiddo, that is running a

in c++ please write all the answers together in one code.
image text in transcribed
image text in transcribed
image text in transcribed
ou have been contacted by an enterprising student, Beatrix kiddo, that is running a small movie and TV streaming service tha sverages the viewing party feature of many streaming applications today. Beatrix wants to offer this service to students on ampus. She wans the platform to offer four streaming bundle packages to her customers at rates shown below: - Basic (Verizon Fios service, Xfinity Stream TV) - Verizon Fios service - $15.99 - Xfinity Stream TV - \$17.99 - Prince (Apple TV, Amazon Prime, Netflix) - Apple TV - $9.99 - Amazon Prime - $14.99 - Comic Book Head (Disney+, Hulu, Fox, HBO Max) - Disney+- $7.49 o Hulu - $14.99 - Fox - \$5.99 o HBO Max $14.99 - Deity (Apple TV, Amazon Prime, Netfix, Disney+, Hulu, Fox, HBO Max, Paramount+, Peacock) Apple TV - $9.99 - Amazon Prime - $14.99 - Disney+ - $7.49 o Hulu - \$14.89 c Fox $5.99 - HBO Max - \$14.99 - Paramount - $9.99 Peacock - $4.99 Assume that the tax appled is 5.7%, write a menu-driven program that will make the moblio viewing party services operational Beatrix has asked that you buld a user friendly program should allow the user to do the following operations as many times as they want (Hint this is a sontinel controlied loop); - Select the viewing party bundle service. - Customize/buy the bundia (solect services trom a bundie). - Show the cost of each service in the bundio. - Show total cost of customer purchase - print customer receipts. - Show company prolis. Accoum tor invalid input in the implementation of your program Your program should consist must contain the following function detinitions (at a minimum): - mainMonu this function takos no paramotors. The function should display a menu of options (llissed below) for the user to choose from and prompt the user to make a choice. The function should roturn the user's choice back to the calling tunction mainMenu: this function takes no parameters. The function should display a menu of options (listed below) for the user to choose from and prompt the user to make a choice. The function should return the user's choice back to the calling function. =1. Select bundle =a 2. Review bundles/services selected = 3. Print current customer receipta =4. Show profits =0. Quit What would you 1i ke to do today? - printCuntomerReceipts: This function takes four parameters corresponding to the customer account number, name of the bundle, the number of services selected from the bundle, and the total cost of the customized bundle. The oufput (to the console) must be in the form shown below: mawawa Customer receipta Account number 14234 Purchased: Comic Book Head bundle (Custon pack) 3 services selected ewnewwwwwn 5ubtotal \$37.47 muminiminin Total \$39.61 printiu115hopproLita: This function takes an open output file reterence, the name of the bundle, the nurnber of services selected from the bundie, and the total cost of the customized buncle. The function should output all purchases made by diflerent customers who have used this system. The output must be in the form shown below: ahopeyarquee: this function takes no parameters. This function displays a welcome message and the main monu to ine user as seen bolow, (Hint this function should only be called once at tho boginning.) Wolcome to 8st atreaning viewing party seervicen. frow Thie progran heips the yser select fron a list of streaning viewing party bundles. The progran almo allows the urer to gelect a list of tunctions below please choosen nenu ootkone for denired service below bundleYenu: this function takes no parameters. The function should display a menu of options (Isted below) for the user to choose from and prompt the user to make a choice. The function should return the user's choice back to the calling function. please choose menu options for denired service bolow. Viewing party Bundle options: nwwan Basic bundle Verizon Fios service - $15.99 xfinity strean TV - $17.99 Dish Network - \$15.99 Prince (Apple IV, Amazon Prime, Netflix) Apple TV - \$9.99 Amazon Prime - $14.99 Conie Book. Head bundle Disney+ - $7,49 Hulu = \$14.99 Fox - \$5.99 HBO Max = \$14.99 YouTube - $9.99 wwaw Deity bundle Verizon Fios service - $15.99 xinity stream TV =$17,99 Dinh Retwork - \$15.99 Apple TV - \$9.99 Amazon Prime - $14.99 Disneyt - $7,49 ulu - 514.99 YouTube - $9.99 Fox - 55.99 HBO Max - $14.99 Paramount +$9.93 Peacock - 54.99 Note: Your implementation must include the function specifications deseribed above. Do not use arrays, vectors, objects, etc. in your implementation. Fallure to follow these instructlons wit resut in points lost on your submission. Answer the following questions below: Exercise 1: Write the funotion protofypos for each listed tunoton description above. Fretcise 2. Wise the function cals for oach listed function description above in the correct order Exercise 3: Write the tunction dofinition of any Avo function wecificaboris abtive

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_2

Step: 3

blur-text-image_3

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

Database And Expert Systems Applications Dexa 2023 Workshops 34th International Conference Dexa 2023 Penang Malaysia August 28 30 2023 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Maqbool Khan

1st Edition

303139688X, 978-3031396885

More Books

Students also viewed these Databases questions

Question

What are some of Samsungs greatest competitive strengths?

Answered: 1 week ago

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago

Question

outline some of the current issues facing HR managers

Answered: 1 week ago