I need the answer to this in C++ code. No while(true), go to, or break statements. I need the format of main, housekeepi

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I need the answer to this in C++ code. No while(true), go to, or break statements. I need the format of main, housekeepi

Post by answerhappygod »

I need the answer to this in C++ code. No while(true), go to, or
break statements. I need the format of main, housekeeping, detail
loop, average and end of job modules. It should output number
of patrons , rating and average with message.
In this project, you will design a program to perform the
following task: Design a program, the STAR Movie Rating App, which
can be installed in a kiosk in theaters and patrons can immediately
give their rating of a movie they’ve just seen. Each theater patron
enters a value of 0, 1, 2, 3, or 4 indicating the number of stars
that the patron awards to the App’s featured movie of the week. If
a user enters a star value that does not fall in the correct range,
the program will prompt the user continuously until a correct value
is entered. The program executes continuously until a negative
number is entered to quit. At the end of the program display: the
number of ratings given the average star rating for the movie of
the week the following message depending on the average rating. 3
or better – “Great movie choice!” 2 up to 3 – “Good movie choice!”
1 up to 2 – “Not a Good movie choice.” 0 up to 1 – “Bowling would
have been a better choice.”
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply