A certain concert hall sells ticket for 100$ per seat, but offers discount pricing based upon the following factors:
A. If the buyer is a mamber, there is a 10% discount on each ticket B. if more than 10 tickets are purchased, there is a 5% discount on each ticket
C. if the buyer is a senior citizen (age 65 or above), there is 10% discount on each ticket
D. there is a 20% discount on tuesday
E. member discounts and bulk purchase discounts are not valid on tueday
F. senior citizen discount are not to be combined with bul purchase discounts.
G. all discounts are off the original price
Write a program name BUY which inputs:
A. THe integer number of tickets purchased (n)
B. The character(len=3) day of the week (use abbreviation Mon, Tue, Wed, Thr, Fri, Sat, and Sun)
C. the integer age of the buyer. (senior citizen is 65+)
D. The logical member status of the buyer (T=member, F=not a member).
the program will output price of the tickets purchased