Team Members:
- Farah Sidina
- Bedoor Alharbi
- Shaima Alamri
- Rahaf Shiqdar
In this project, we used the R language
- We Determined the ticket costs for children and adults
- We List our 5 favourite movies
- We Determined how many movie theatres screens our theatre has
- We Determined how many seats each theatre seats
- We used Loop over each day of the week
- We Keep track of total revenue for each day
- We used Loop over each screen in the theatre
- We Determined randomly how many adults and children are present in the theatre and we make sure the total occupants are not more than seats in the theatre.
- We Calculated how much revenue was generated for children and adults
- We Calculated total revenue and add to the total for the day
- We Saved the total revenue for the day to the appropriate index location in your week variable.
- We Make a bar chart showing total revenue for each day.
- We Make another chart of our choice.
- We decided Which day has the highest revenue?
- Bedoor Alharbi
- Farah Sidina
- Shaima Alamri
Optional Tasks:
-
We created snacks (Popcorn, chocolate, candy, etc.) and associate a price for each item created. We created a condition statement that determined whether a customer bought a snack or not. We even decided if children should be able to buy snacks.
-
We Pretend multiple theatres and run two simulations to represent each theatre and plot the results. (The theatres should not have the same number of screens or seating capacity per theatre).
-
We created a conditional statement for movies that may be PG-13 and not appropriate for kids and make sure your code reflects that kids cannot watch the movie.
Team members:
We visualized our results to convey our message and finding out the results.
It is illustrated from the Bar charts, that Monday showing the highest rate of revenue of theatre #1, then theatre #2 recorded the highest rate of revenue with 6000 SAR approximately.

The bar chart illustrates that candy showing the highest rate of purchases on the other hand popcorn showing the lowest purchases rate.

