0% found this document useful (0 votes)
11 views3 pages

Ticket Booking Process Overview

This document outlines a ticket booking process with the following steps: 1) The Booking() function gets customer, movie, and payment details and books the ticket. 2) The Booking_Done() function outputs a confirmation message with customer and ticket details. 3) The Customer(), Movie(), and Payment() functions get additional required details from the customer.

Uploaded by

Aditya Saknure
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Ticket Booking Process Overview

This document outlines a ticket booking process with the following steps: 1) The Booking() function gets customer, movie, and payment details and books the ticket. 2) The Booking_Done() function outputs a confirmation message with customer and ticket details. 3) The Customer(), Movie(), and Payment() functions get additional required details from the customer.

Uploaded by

Aditya Saknure
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

start

Booking()
Booking_Done()
output “Thanks for book ticket”
stop

Booking()
Customer()
Movie()
Payment()

return

Booking_Done()
output “You”, name “booked”, seats “tickets of”, movie “at”,
cinema, city “at”, date. “Your tickets will send on your Email
ID”, email_id “shortly.”

return

Customer()
Declaration
string name
num MoNum
string email_id
output “Enter name”
input name
output “Enter Mobile No.
input MoNum
output “Enter Email ID”
input email_id

return

Movie()

Declaration
string city
string cinema
string movie
num seats
num date
output “Enter City”
input city
output “Enter Date”
input date
output “Enter Cinema”
input date
output “Enter Cinema”
input cinema
output “Enter Movie Name”
input movie
output “No. of seats”
input seats
return
Payment()
Declaration
string credit_card
string debit_card
string method
num ticket_price = 100
num total
total = seats * ticket_price
if seats > 10 then
total = total - (total * 0.1)

endif
output “Your total payment is”, total
output “Choose your payment
method(credit_card/debit_card)”
input method
if method = credit_card then
Credit_card()
else
Debit_card()
endif
output “Your payment has been confirmed”

return

Credit_card()
Declaration
string bank_name
num card_num
num validity
num s_code
output “Enter Bank Name”
input bank_name
output “Enter Card Number”
input card_num
output “Validity of card (mm/yy)”
input validity
output “Enter Security Code”
input s_code

return

Debit_card()
Declaration
string bank_name
num card_num
num validity
num cvv_code
output “Enter Bank Name”
input bank_name
output “Enter Card Number”
input card_num
output “Validity of card (mm/yy)”
input validity
output “Enter Security Code”
input s_code
return

Debit_card()
Declaration
string bank_name
num card_num
num validity
num cvv_code

output “Enter Bank Name”


input bank_name
output “Enter Card Number”
input card_num
output “Validity of card (mm/yy)”
input validity
output “Enter CVV”
input cvv_code

return

You might also like