Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

DetailedDescription: 1. Theprogram should display Please provide customer Name:

ID: 3614456 • Letter: D

Question

DetailedDescription:

1. Theprogram should display

Please provide customer Name:

Please provide MovieDescription.

       Enter ‘R’ forRegular Movie.

       Enter ‘C’ for children Movie.

        Enter ‘N’for New Released Movie.

        Enter ‘E’for English Movie.

Then your program should take theseinputs,

2. Depending upon the choices that user has entered, your program willfurther display the prompt

3. Ifuser has entered Movie description, then your program should promptthe user to enter the Movie Name and Number of days.

     -----------------------------------------------------------------

          MovieName:            

          Number ofday’s:

      -----------------------------------------------------------------

4. After getting all this information, now write a function which willcalculate rental/charged amount on the basis of thisinformation.

   To calculaterental/charged amount we will use this formula:

   Rental amount = charged amount * number of days

Charged amount will be different fordifferent movies according to following description:

Regular Movie:       40 RS

Children Movie:      30 RS

EnglishMovie:        50 RS

New release:         100 RS

After calculating charged amount for this movie and display iton the screen.

         

SampleOutput

Please provide customerName:      Aftab

Please provide MovieDescription:

        Enter ‘R’for Regular Movie:

        Enter ‘C’for children Movie:

        Enter ‘N’for New Released Movie:

       Enter ‘E’ for English Movie:

    R

Please provide following information:

      Movie Name :      Jinnah           

      Number of day’s:   3

Final output:

     -----------------------------------------------------------------

          CustomerName:    Aftab

          MovieType :     Regular    

          MovieName :      Jinah

          Number ofday’s:   3

          YourRental Amount is: 120 Rs

      -----------------------------------------------------------------

Explanation / Answer

please rate - thanks #include using namespace std; int rentalamount(int,int); int main() {char choice; string name,movie,type; int days,rate; coutname; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote