You are on page 1of 16

K L UNIVERSITY

FRESHMAN ENGINEERING DEPARTMENT


A Project Based Lab Report

On

MOVIE TICKET BOOKING

SUBMITTED BY:

I.D NUMBER NAME

2100032311 V. SRINIVASA REDDY

2100032312 A. HEMANTH KUMAR

2100032313 P. LURTH MARY

2100032315 B. KIRAN

UNDER THE ESTEEMED GUIDANCE OF

MR. ARAVINDHAN SRINIVASAN

Assistant Professor

KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES

CERTIFICATE

This is to certify that the project based laboratory report entitled


“MOVIE TICKET BOOKING” submitted by Mr./Ms. SRINIVASA
REDDY ,HEMANTH, LURTH MARY, KIRAN bearing
Regd.No.2100032311,210032312, 2100032313,2100032315 to the
Department of Basic Engineering Sciences, KL University in partial
fulfillment of the requirements for the completion of a project in
“COMPUTATIONAL THINKING FOR STRUCTUAL DESIGN(21SC1101)” course
in I B Tech I Semester, is a bonafide record of the work carried out by him/her
under my supervision during the academic year 2020-21.

PROJECT SUPERVISOR HEAD OF THE DEPARTMENT

MR. ARAVINDHAN SRINIVASAN Dr. D. HARITHA


ACKNOWLEDGEMENTS

It is great pleasure for me to express my gratitude to our honorable


President Sri. Koneru Satyanarayana, for giving the opportunity and platform
with facilities in accomplishing the project based laboratory report.

I express the sincere gratitude to our director Dr. A Jagadeesh for his
administration towards our academic growth.

I express the sincere gratitude to our Principal of FED Dr. V. Krishna


Reddy for his administration towards our academic growth and the facility that
he has provides us

I express sincere gratitude to our Coordinator and HOD-BES Dr. D.Haritha


for her leadership and constant motivation provided in successful completion of
our academic semester. I record it as my privilege to deeply thank for providing
us the efficient faculty and facilities to make our ideas into reality.

I express my sincere thanks to our project supervisor Mr. Aravindhan


Srinivasan for his/her novel association of ideas, encouragement, appreciation
and intellectual zeal which motivated us to venture this project successfully.

Finally, it is pleased to acknowledge the indebtedness to all those who


devoted themselves directly or indirectly to make this project report success.

ID NO NAME

2100032311 V.SRINIVAS REDDY

2100032312 A.HEMANTH
KUMAR

2100032313 P.LURTH MARY

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.

*We can permanently store elemental values by further updation.*Easy to handle.

*Data consistency*Easy record keeping.

*Easy data updating


INDEX
S.NO TITLE PAGE NO

1 Introduction 6

2 Aim of the Project 7

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

About C Language: C was originally developed at Bell Labs by DennisRitche between


1972 and 1973 to make utilities running on Unix. Later, it was applied to re-
implementing the kernel of the Unix operating system. During the 1980s, C gradually
gained popularity. Nowadays, it is one of the most widely used programming lanuages,
with C compilers from various vendors available for the majority of existing computer
architectures and operating systems. C has been standardized by the ANSI since 1989
(see ANSI C) and by the International Organization for Standardization.

C is an imperative procedural language. It was designed to be compiled using a


relatively straightforward compiler to provide low-level access to memory and
Language constructs that map efficiently to machine instructions, all with minimal
runtime support.
AIM
Our aim is to write a c-program for movie ticket booking by using these modules.

The modules in this project are


To provide an anytime anyplace service for the customer
To provide refund
To minimize the number of staff at the ticket box
To promote the film on the internet
To increase the profit To obtain statistic information from the booking record

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:

The major software requirements of the project are as follows:


Language: C-Programming
Operating system: Windows 10 or later.
Tools: Eclipse IDE

 HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as follows:

RAM :8GB

Processor: INTEL CORE i5 OR LATER

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;

else if(i==8 ||i==9)

b[i][j]=100;

else

b[i][j]=150;

printf("Welcome to ABC theatre\n");

printf("The Theatre has 100 seats ,10 rows and 10 columns\n");

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");

printf("1 indicates the seat is available and 0 indicates seat is booked\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("Movies that are currently playing are:\n");

printf("1.Akhanda\n");

printf("2.Pedhanna\n");

printf("3.Enemy\n");

printf("4.Eternals\n");

printf("5.Manchi rojulochai\n");

printf("Please enter a movie name from above to continue booking\n");

scanf("%s",mname);

printf("Enter your name\n");

scanf("%s",cname);

printf("Enter no of tickets\n");

scanf("%d",&n);

printf("Enter row and column numbers \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");

printf(" ABC Cinemas\n");

printf("Movie name : %s\n",mname);

printf("Customer Name : %s\n",cname);

printf("Total Number of tickets : %d\n",n);


printf("Total tickets cost : %d\n Rs.",sum);

return 0;}

OUTPUTS
Select the movie
Enter the following details
Name
Number of tickets
Row and column number
HERE THE TICKECT IS BOOKED

IT WILL DISPLAY ALL THE DETA

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

You might also like