Calculate total cost for the number of movie tickets sold


Assignent

Write a program and flowchart.

The program should calculate total cost for the number of movie tickets sold for Adults, Children, and Students; and then calculating the total of combined sales for all 3 categories.

Then, it asks for customer numbers, and sales by customer. At the end, it prints out the customer number, the customer sales, and then the total sales and average sales.

1. You must use three different arrays - These are, in effect, parallel arrays

1. One for Adult Movie Ticket Sales
2. One for Child Movie Ticket Sales
3. One for Student Movie Ticket Sales

2. Remember to use a "for" loop for each array

3. You should have totals in $ amount for:

1. Adult Movie Tickets sold
2. Children Movie Tickets sold
3. Student Movie Tickets sold
4. Overall totals, combining all 3 categories

4. Hints and Suggestions:

1. You can set your own movie prices - for example, adult ticket is $15
2. You can set how many tickets have been sold in each category - for example, 5 adult tickets sold
1. You can also write the program to ask the user for this input, but this is not required

5. At the end, it prints out the total dollar amount spent on sales for Adult Movie Tickets, Children Movie Tickets, and Student Movie Tickets; and then an overall total spent.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Calculate total cost for the number of movie tickets sold
Reference No:- TGS03025047

Expected delivery within 24 Hours