Date : 1st December 2020
- Basic input output of strings and numbers.
- One of
Class
/Object
/Dictionary
/Map
to store survey details. (Depends on the language you are using) - Creating and displaying arrays.
- Basic calculation.
- Reading and writing data to permanent storage. (files, database, etc) Refer this for using files in C++.
- Complex user interface for implementing different modes and features.
Mr. Sandeep Kulhari owns an amphitheatre in bangalore. In that amphitheatre he conducts various events and skits. In the pre-covid time, his tickets used to get sold offline. But when the world got hit with covid-19, his work had to be shutted down for a long long time. Due to this,he suffered huge financial stress. Now after eight months of lockdown, Mr. Kulhari got some relief when the government permitted theatres to open.
Despite this good news, Mr. Kulhari is facing some issues with regards to selling his tickets offline, as in this new world everyone is preferring online services. Mr. Kulhari needs your help in developing an application which can help him out in selling his tickets to various events.
Mr.Kulhari has divided his theatre based on different factors, based on which the app will make the seating arrangements. Rates are charged accordingly. Kindly look into the requirements and help him out with the application.
The app should be able to allow 2 kinds of users to perform 2 operations:
- Create an Event Hall(Admin) Admin should be able to enter the name of the event along with the number of rows & columns to design the seat allocation for various segments.
- Enter Event Name: String input to enter the event’s name Eg. Janta Circus
- Enter Date & Time of Event: 2nd Dec, 2020 4pm
- Enter Number of Seat Allocation Segments: 3 (Integer)
- Enter Name of 1st Segment: Premium
- Number of Rows: 3 (Integer)
- Number of Columns: 15 (Integer)
- Price per Seat in Rs.: 400 (Integer)
- Enter Name of 1st Segment: Executive
- Number of Rows: 4 (Integer)
- Number of Columns: 15 (Integer)
- Price per Seat in Rs.: 300 (Integer)
- Enter Name of 1st Segment: Normal
- Number of Rows: 4 (Integer)
- Number of Columns: 15 (Integer)
- Price per Seat in Rs.: 200 (Integer)
If Number of Rows exceeds 26, again continue with AA, AB, AC… and so on.
- Book Seats(Customer) Customers should be able to select available seats and the Price to be paid should be calculated as per the number of seats selected in different sections of seat allocation.
- Enter Number of seats: 2 (Integer)
- Enter Seat Numbers referring below:
Here
*
states that the seat is booked. If you are using a User Interface application then feel free to use different colours or designs as per your wish to differentiate Booked & Available seats.
- Display the following message Success scenarios: Seat No. E6, E7 CONFIRMED for JANTA CIRCUS Date & Time: 2nd Dec, 2020 4pm Price to be Paid: Rs. 600
- Display some different error messages as per your choice for Failure scenarios.
You can use files or any Database to manipulate the mentioned data
- A document containing a screenshot showing the results must also be pushed along with final submission. A brief description(not more than 4-5 lines/100 words) should be included containing the approach used for solving the problem.
- Last Submission Date :
30th December 2020
- If you haven’t filled our participation form 📃yet, fill it now.
Follow the steps mentioned in this file to submit your solution.
Solved this problem? Then you might want to checkout the other versions of this problem.