Professional Documents
Culture Documents
On
SUBMITTED BY:
2100032315 B. KIRAN
Assistant Professor
KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES
CERTIFICATE
I express the sincere gratitude to our director Dr. A Jagadeesh for his
administration towards our academic growth.
ID NO NAME
2100032312 A.HEMANTH
KUMAR
2100032315 B.KIRAN
ABSTRACT
We discussed so far various features of C language and are ready to write and execute
program of modest complexity. However, before attempting to develop complex
programs, it is worthwhile to consider some programming techniques that would help
design efficient and error free. The program development process includes three
important stages, namely, program design, program coding and program testing. All the
three stages contribute to the production of high quality program.
In “MOVIE TICKET BOOKING” we done system design, source coding, and program
testing and added many more features to facilitate the use with best. We havegiven the
user the facility to search elements’ records.
We can improve the efficiency of the system, thus overcome the drawbacks of the
existing system.
1 Introduction 6
7
2.1 Advantages & Disadvantages
3 System Requirements 8
4 Algorithm 9
5 Flow Chart 10
6 Implementation 11-12
7 Output 13-14
8 Conclusion 15
INTRODUCTION
Advantages: -
People who know proper use of technology and aware of the information can enjoy the benefits
of online booking and choose the shows and show times they want. For movie ticket booking,
internet is the best source for the movie-goers. You can get different promotions and offers on
online booking sites.
Disadvantages: -
Requires Internet Connection The biggest disadvantage of online booking is that one needs to
have internet connection for booking tickets online. Hence in simple words without an
internet connection, it is like a body without soul and hence if there is no internet connection
then there is no utility of online booking.
SYSTEM REQUIREMENTS
SOFTWARE REQUIREMENTS:
HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as follows:
RAM :8GB
Algorithm:
Step1:Start
Step2:read fare calculation,n,total
Step3:refund rc,total
Step4:enter movie names
Step5:enter total no: of persons
If(x<100)
Total r=175*x
Refund money=total r-75
Step6:else display no movie is matched
Step7:enter movie details
Step8:use strcmp string function to compare the
entered movie
Step9:print ua -telugu,ratings
Step10:else invalid search
Step11:stop
FLOW
CHART
IMPLEMENTATION
#include<stdio.h>
int main() {
int a[10][10],b[10][10],i,j,n,r,c,sum=0;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
a[i][j]=1;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
if(i==0 || i==1)
b[i][j]=250;
b[i][j]=100;
else
b[i][j]=150;
printf("The First top two rows are premium ,costs 250 per ticket\n");
printf("The Bottom two rows are lower class , costs 100 per ticket, Remaining all seats costs 150 per
ticket\n");
for(i=0;i<10;i++){
for(j=0;j<10;j++){
printf("%d ",a[i][j]);
}
printf("\n");
char mname[20],cname[20];
printf("1.Akhanda\n");
printf("2.Pedhanna\n");
printf("3.Enemy\n");
printf("4.Eternals\n");
printf("5.Manchi rojulochai\n");
scanf("%s",mname);
scanf("%s",cname);
printf("Enter no of tickets\n");
scanf("%d",&n);
scanf("%d %d",&r,&c);
for(i=0;i<n;i++){
if(a[r-1][i+c-1]==1){
sum+=b[r-1][i+c-1];
a[r-1][i+c-1]=0;
printf("Ticket(s) booked\n");
printf("--------Ticket--------\n");
return 0;}
OUTPUTS
Select the movie
Enter the following details
Name
Number of tickets
Row and column number
HERE THE TICKECT IS BOOKED
CONCLUSION
As our main aim of this project is to create a movie ticket booking program
Which is helpful for people who are busy in work and not go to theatre for
tickets to book .by this we can book online movie ticket booking