Skip to content

ᴛʜɪꜱ ᴄ ᴘʀᴏɢʀᴀᴍ ᴀʟʟᴏᴡꜱ ᴜꜱᴇʀꜱ ᴛᴏ ʙᴏᴏᴋ ᴍᴏᴠɪᴇ ᴛɪᴄᴋᴇᴛꜱ ʙʏ ꜱᴇʟᴇᴄᴛɪɴɢ ᴀ ᴍᴏᴠɪᴇ ᴀɴᴅ ɴᴜᴍʙᴇʀ ᴏꜰ ꜱᴇᴀᴛꜱ, ᴛʜᴇɴ ᴄᴀʟᴄᴜʟᴀᴛᴇꜱ ᴛʜᴇ ᴛᴏᴛᴀʟ ᴘʀɪᴄᴇ ᴡɪᴛʜ 10% ᴛᴀx ᴀɴᴅ ᴘʀɪɴᴛꜱ ᴀ ᴅᴇᴛᴀɪʟᴇᴅ ᴛɪᴄᴋᴇᴛ ꜱᴜᴍᴍᴀʀʏ

License

Notifications You must be signed in to change notification settings

roshhellwett/MovieFix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 Movie Ticket Booking System (C Program)

License Platform Status Contributions GitHub stars

A fun and interactive C program that simulates a movie ticket booking system right in your terminal!
Users can select a movie, choose the number of seats, and get a total bill with a 10% tax — all through a clean CLI experience. 🍿


🏷️ Overview

🎥 Feature 💡 Description
📜 Movie List Displays available movies with ticket prices
🎟️ Seat Selection Lets user choose the number of seats
💰 Total Calculation Computes total cost + 10% tax
🧾 Ticket Printout Displays formatted movie ticket with total bill
⚙️ Modular Design Built using functions and structured logic

📖 Description

This project demonstrates core C programming concepts — including functions, switch statements, user input handling, and basic arithmetic.
Perfect for beginners exploring how to build a real-world console application using structured programming.


🧠 Concepts Used

  • 🔹 Functions for modular code
  • 🔹 switch statements for movie selection
  • 🔹 User input with scanf
  • 🔹 Conditional logic
  • 🔹 Arithmetic operations for tax calculation

💻 How to Run

  1. Clone the Repository
    git clone https://github.com/roshhellwett/Movie_Ticket_Counter.git
    cd Movie_Ticket_Counter
    gcc movie_ticket.c -o movie_ticket
    ./movie_ticket
    
    

📂 Project Structure

Movie_Ticket_Counter/
│
├── movie_ticket.c       # Main program source code
├── README.md            # Project documentation
└── LICENSE              # License file (optional)

## 🧾 Example Output
🎬 MOVIE TICKET BOOKING SYSTEM 🎟️

1. Avatar 2 - $12.50
2. Avengers - $11.00
3. Jurassic World - $10.00

Select movie (1-3): 2
Enter number of seats: 3

----------------------------------------
MOVIE SELECTED : Avengers
NO. OF SEATS   : 3
TOTAL BILL (with 10% tax): $36.30
----------------------------------------

🎉 THANK YOU FOR BOOKING WITH US! 🎉

About

ᴛʜɪꜱ ᴄ ᴘʀᴏɢʀᴀᴍ ᴀʟʟᴏᴡꜱ ᴜꜱᴇʀꜱ ᴛᴏ ʙᴏᴏᴋ ᴍᴏᴠɪᴇ ᴛɪᴄᴋᴇᴛꜱ ʙʏ ꜱᴇʟᴇᴄᴛɪɴɢ ᴀ ᴍᴏᴠɪᴇ ᴀɴᴅ ɴᴜᴍʙᴇʀ ᴏꜰ ꜱᴇᴀᴛꜱ, ᴛʜᴇɴ ᴄᴀʟᴄᴜʟᴀᴛᴇꜱ ᴛʜᴇ ᴛᴏᴛᴀʟ ᴘʀɪᴄᴇ ᴡɪᴛʜ 10% ᴛᴀx ᴀɴᴅ ᴘʀɪɴᴛꜱ ᴀ ᴅᴇᴛᴀɪʟᴇᴅ ᴛɪᴄᴋᴇᴛ ꜱᴜᴍᴍᴀʀʏ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published