Question: C++ program #define you will duplicate this order form for movie tickets ask the user for the movie title and the date he/she wants use
you will duplicate this order form for movie tickets ask the user for the movie title and the date he/she wants use getline and read both in as strings since the date is a string, the date input can be in any format ask for the number of adult tickets, senior tickets, and children tickets the cost of the different tickets will be hard coded as #defines #define cAdult 9.00 #define cSenior 7.70 #define cChild 7.00 look at how the numbers are justified number of tickets - the 'units' number is lined up with the 'b' in number ticket cost - the decimal point is under the 'o' in cost total cost - the decimal point is under the 2nd 't' in total wing it with the movie title and the date do not forget the " around the movie title extra credit - center the movie title over the number cost' columns TICKET ORDER movie name "Gone with the wind" 10/23/2017 number cost 9.00 total 18.00 adult tickets senior tickets 7.70 0.00 children tickets 11 7.00 77.00 total cost 95.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
