Konerulakshmaiah Education Foundation: A Project Based Lab Report On Booking Movie Tickets
Konerulakshmaiah Education Foundation: A Project Based Lab Report On Booking Movie Tickets
(Deemed to be University)
On
SUBMITTED BY:
SARVANI VIEDELA
KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES-1
CERTIFICATE
I express the sincere gratitude to our principal Dr. N.Venkataram for his
administration towards our academic growth.
1 Introduction <pageno>
5 Implementation <pageno>
6 Algorithm <pageno>
8 Conclusion <pageno>
INTRODUCTION
Advantages:-
1. Quick to do
Disadvantages:-
Future enhancements
We can further improve it by making the
program , by which we can order the snacks at
interval, parking token at the movie theater etc..
SYSTEM REQUIREMENTS
SOFTWARE REQUIREMENTS:
HARDWARE REQUIREMENTS:
Step 1: start
Step 2: press 123 to book your ticket
Step 3: select number of tickets
Step 4: select your row number and coloumn number
Step 5:if row<=3
Ticket cost=100
Else if row>3and row<=7
Ticket cost=80
Else
Ticket cost=50
Step 6: Enter your name
Step 7: Enter your phone number
Step 7:enter movie name
Step 9: collect your ticket
Step 9: Stop
IMPLEMENTATION
#include<stdio.h>
int main()
{
int a[10][10],b,c,d=100,e,f,sum=0,total_sum;
for(b=1;b<=10;b++)
{
for(c=1;c<=10;c++)
{
a[b][c]=1;
}
}
if(d>0)
{
printf("NUMBER 1->SEAT AVAILABLE 0->SEAT NOT
AVAILABLE");
printf(" GOLD=100 RS\n");}
for(b=1;b<=3;b++)
{
for(c=1;c<=10;c++)
{
printf("%d ",a[b][c]);
}
printf("\n");
}
printf(" SILVER=80 RS\n");
for(b=4;b<=7;b++)
{
for(c=1;c<=10;c++)
{
printf("%d ",a[b][c]);
}
printf("\n");
}
printf(" NELA TICKET=50 RS\n");
for(b=8;b<=10;b++)
{
for(c=1;c<=10;c++)
{
printf("%d ",a[b][c]);
}
printf("\n");
}
printf(" ______\n");
printf(" SCREEN\n");
printf("PRESS 123 TO BOOK YOUR TICKET:-");
scanf("%d",&e);
if(e==123)
{
printf("select no. of tickets:-");
scanf("%d",&f);
}
else
{
printf("PROCESS FAILED");
}
if(f<=6)
{
printf("SELECT YOUR ROW AND COLUMN:-");
scanf("%d%d",&b,&c);
}
if(b<=3)
{
sum=sum+100;
}
else if(b>3 && b<=7)
{
sum=sum+80;
}
else
{
sum=sum+50;
}
total_sum=f*sum;
printf("TOTAL PRICE=%d\n",total_sum);
char h[100];
unsigned long long int pn;
char j[100];
printf("USERNAME:-");
scanf("%s",h);
printf("MOBILE NUMBER:-");
scanf("%llu",&pn);
printf("MOVIE NAME:-");
scanf("%s",j);
printf("_______________________________________\n");
printf("----------------TICKET-----------------\n");
printf("USERNAME:-%s\n",h);
printf("MOBILE NUMBER:-%llu\n",pn);
printf("MOVIE NAME:-%s\n",j);
printf("NUMBER OF TICKETS=%d\n",f);
printf("ROW NUMBER=%d\n",b);
printf("COLUMN NUMBER=%d\n",c);
printf("---------------------------------------\n");
printf("AMOUNT=%d\n",total_sum
);
printf("---------THANK YOU-----------------------");
return 0;
}
OUTPUTS
Screen Shots:
CONCLUSION
Nowadays, traditional reservation ways of cinema ticketing
is dying. Its new age where technology dominates human
life. With the software and technological devices,
exceptions are reduced and even terminated. Also, people
prefer easy, quick and safe way for every part of his life.
This project is designed to meet the requirements of a
cinema ticket booking system.
In our project: with this cinema ticketing system; cinema
companies can satisfy comfortable facilities to their customers.
With this platform we developed, we are hoping to reduce time
wasting, avoid misunderstandings, provide easy data flow,
customer pleasure, and less hard work. We believe that we have
accomplished our goals and satisfied with the code we
developed.