Download presentation
Presentation is loading. Please wait.
Published byNelson Wilcox Modified over 8 years ago
2
SPONGEBOB CINEMAS INSIDIOUS KHURAFAT THE LAST SUMMER
4
INTRODUCTION For this project, we have decided to produce a movie-ticket receipt for a cinema, that we named Spongebob Cinemas. By producing those tickets, we will manage to come out with the statistics of the collections of Spongebob Cinemas per day, this is including the total of tickets bought for each movies and the total of tickets bought for each type of tickets. In this case, the only genre of the movies that we have taken is horror. The titles of movies that we have offered are Malay horror movie; Khurafat, English horror movie; Insidious, and Thailand horror movie; The Last Summer. These tickets also divided into three types; Adult, Children and Senior. We have taken a sample of 10 families to run our project, and each family has a different total of ticket bought based on their choices. In the tickets, we print out the price of the tickets they have chosen and also the total amount they have to pay. We hope our customers are satisfied with our services and enjoy the movies.
5
OBJECTIVES To find out the most watched movie for the three same genred movies which are Khurafat, Insidious and The Last Summer To come out with the statistics of the collections by the cinema per day To identify which movie is the best seller. We have use nested-if for the user to choose the code of the type of the movie which are, E; for English movie Insidious, M; for Malay movie Khurafat and also T; for Thailand movie The Last Summer. Besides, the user has to key in the type of the ticket of the movie which are, A; for Adult, C; for Children, and S; for Senior. For looping, we used counter-controlled loop to repeat the body loop for 10 families. Next, the sentinel-conrolled is used to repeat the body loop for as many times as that one particular family wanted. For function, function without parameter and without return value is used for the function greeting(). Other than that, functions with parameter and with return value is used for calcInsidious() and calcAmount().
6
PROBLEM DEFINITION Input :name of customer, type of ticket, total quantity of ticket and choice Output :price of ticket, total price of ticket, total quantity, total amount and total ticket Processing :total price of ticket = price x quantity total ticket = quantity (all movie & type) total amount = total price of ticket
7
CONCLUSION Throughout this project, we managed to find out which movie is the best seller and which type of ticket is sold the most. Based on the samples we have taken, it is shown that Insidious is the best seller movie among the three movies. It is also found that Adult type of ticket has been sold the most compared to the others. We also have printed out our own logo on each ticket. On the other hand, by completing this project we were able to design a program to solve the problem using flowchart or pseudo-code. We were also able to code the program using Microsoft Visual C++ editor. Other than that, we got to learn how to compile and execute the program. Lastly, we succeed to submit the report contains of flowchart and pseudo-code, source- code and samples of input and output.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.