Assignment #1 - Ticket System

Due: Friday January 19th, 11:59:00pm

Objectives

Task

As a successful programmer, the FSU Football department has asked you to create a small program that will calculate the amount of money that a fan owes for tickets to a game. There are three categories of tickets: adult, children, and senior.
Create a program (Filename: ticketsys.cpp - remember to rename files, these instructions are in the CLion how-to pdf) that will calculate the amount of money a fan owes (plus tax) for their tickets based on the given prices for each ticket category.

General Requirements


A sample run: (user input underlined)

***FSU Football Ticket Calculator***
Please enter the number of:
        Adults
        Children(up to age 9)
        Seniors(55+)
Adults --> 2
Children --> 2
Seniors --> 1
-------------------------------
TOTAL (before tax) = $98.50
Tax = $6.90
TOTAL COST (after tax) = $105.39

Thanks for using the ticket system!

Another sample run: (user input underlined)
***FSU Football Ticket Calculator***
Please enter the number of:
        Adults
        Children(up to age 9)
        Seniors(55+)
Adults --> 2
Children --> 0
Seniors --> 0
-------------------------------
TOTAL (before tax) = $57.00
Tax = $3.99
TOTAL COST (after tax) = $60.99

Thanks for using the ticket system!

Another sample run: (user input underlined)
***FSU Football Ticket Calculator***
Please enter the number of:
        Adults
        Children(up to age 9)
        Seniors(55+)
Adults --> 0
Children --> 0
Seniors --> 0
-------------------------------
TOTAL (before tax) = $0.00
Tax = $0.00
TOTAL COST (after tax) = $0.00

Thanks for using the ticket system!

Compiling and Running:

Make sure you either develop with or test with CLion (to be sure it reports no compile errors or warnings!) before you submit the program.

Be sure to follow the instruction file on the course web page, on building console projects in Clion


Submitting:

Program submissions should be done through the canvas class page, under the assignments tab (if it's not there yet I'll create it soon.) Do not send program submissions through e-mail -- e-mail attachments will not be accepted as valid submissions.
The ONLY file you will submit via canvas is ticketsys.cpp

General Advice - always keep an untouched copy of your finished homework files in your email. These files will have a time-stamp which will show when they were last worked on (a timestamp from the CS servers) and will serve as a backup in case you ever have legitimate problems with submitting files through blackboard. Do this for ALL programs.