cout << "Enter Y to continue" << endl;
cin >> flag;
// if statement below will check whether to continue or quit
if (flag == 'y' || flag == 'Y')
{
continue;
}
else
{
break;
}
}
cout << "Reached maximum capacity of Cineplex!!!" << endl;
cout << "The total amount of sales today is RM" << total2 << endl;
cout << "System exit..." << endl;
You just posted out is a program that show ticket booking on command prompt or terminal, but it is not that useful in the world of very good UI.
Sure you can build the one with nice UI in Qt or Juce, with C++. But above code is not much help.. Or you should have proposed some functionalities with detailed analysis to get good help, What do you say of that, You bring out that, we can work upon ..