You purchase tickets for you and your friends to attend a concert. The tickets cost $23.45 (double) each and you need to purchase a total of 7 tickets ( int ). Write a program that will generate the total (double).
The program also tells us how much GST TAX we have to pay on the ticket purchase (total*0.06) and will also tell us the total we have to pay (total*1.06).
output
Subtotal 164.15
Tax GST 9.849
Total 173.99900000000002
The program also tells us how much GST TAX we have to pay on the ticket purchase (total*0.06) and will also tell us the total we have to pay (total*1.06).
output
Subtotal 164.15
Tax GST 9.849
Total 173.99900000000002