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

Assignment 1. The program should display Please provide customer Name: Please pr

ID: 3614704 • Letter: A

Question

Assignment

1. The program should display

Please provide customer Name:

Please provide Movie Description.

       Enter ‘R’for Regular Movie.

        Enter ‘C’for children Movie.

        Enter ‘N’for New Released Movie.

        Enter ‘E’for English Movie.

Then your program should take these inputs,

2. Depending upon the choices that userhas entered, your program will further display the prompt

3. If user has entered Movie description,then your program should prompt the user to enter the Movie Nameand Number of days.

i-----------------------------------------------------------------

          MovieName:            

          Number ofday’s:

   Rental amount = charged amount * number ofdays

Charged amount will be different for different moviesaccording to following description:

Regular Movie:       40 RS

ChildrenMovie:      30 RS

English Movie:       50 RS

Sample Output

Please provide customerName:      Aftab

Please provide Movie Description:

        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 ofday’s:   3

Final output:

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

          CustomerName:    Aftab

          MovieType :     Regular    

          MovieName :      Jinah

          Number ofday’s:   3

          YourRental Amount is: 120 Rs

Assignment

Problem Statement: Movie Rental Store    You are required to write a program for Movie Rental Store.The basic idea is that user/reader will provide customerinformation, movie name, and number of days. Upon this informationyour program will calculate the charged amount for thatmovie. Detailed Description:

1. The program should display

Please provide customer Name:

Please provide Movie Description.

       Enter ‘R’for Regular Movie.

        Enter ‘C’for children Movie.

        Enter ‘N’for New Released Movie.

        Enter ‘E’for English Movie.

Then your program should take these inputs,

2. Depending upon the choices that userhas entered, your program will further display the prompt

3. If user has entered Movie description,then your program should prompt the user to enter the Movie Nameand Number of days.

i-----------------------------------------------------------------

          MovieName:            

          Number ofday’s:

      ---------------------------------------------------------------4. After getting all this information, now write afunction which will calculate rental/charged amount on the basis ofthis information. To calculate rental/charged amount we will use thisformula:

   Rental amount = charged amount * number ofdays

Charged amount will be different for different moviesaccording to following description:

Regular Movie:       40 RS

ChildrenMovie:      30 RS

English Movie:       50 RS

New release:         100 RS Aftercalculating charged amount for this movie and display it on thescreen.

Sample Output

Please provide customerName:      Aftab

Please provide Movie Description:

        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 ofday’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