@writeonsharma Suppose three movies (Harry Potter, English Vinglish and Tekken) are on display in a cinema. Three different counters are distributing tickets for each movie. To purchase a particular movie ticket, you are required to stand in the respective movie counter queue.
Make you familiar with queue and linked list data structure and programming techniques to implement queue as linked list.
1 2 3 4 5 6 7 8 9 10 11 12
Considering the above scenario, write a C++ program which asks a user to choose the movie for which he/she would like to purchase a Ticket. While choosing the movie ticket, user should be asked to enter his/her social group [F for female, M for male and K for kids].
The required program functionalities should be:
Take input for all the three movies.
Display the total number of visitors for each movie.
Display total revenue of cinema and total revenue of each movie (Suppose price of one ticket is 650/-).
Display the best business earning movie of the cinema.
Check the popularity of each movie amongst social groups (females, males or kids).
does "some error found" indicate a compilation error or something that is calculated wrong at runtime? No one is going to read 221 lines of un-indented code, then compare with your requirements.
Actually you shouldn't be using system() at all, and don't use c-style strings but the C++ equivalent: std::string. Then all errors/warnings will disappear.
And never use conio.h, it's non-standard.