Lab: There are 2 ticket prices: adult, and senior citizen. Adult seats are $4.50 and senior citizen seats are $3.50. If more than 5 senior citizen tickets are purchased, the customer gets an extra...
Type: Posts; User: adam1991
Lab: There are 2 ticket prices: adult, and senior citizen. Adult seats are $4.50 and senior citizen seats are $3.50. If more than 5 senior citizen tickets are purchased, the customer gets an extra...
When the program prompts me to enter senior or adult, i entered "senior" without quote. And this is what it produce as an output
Error reading int data, MIN_VALUE value returned.
I tried running it now, but it does not really do any calculation or displays any error message if i enter any char other than adult or senior,
So basically, it is not running anything that it was...
Question:
Write a program that will calculate the cost of a ticket order and display the receipt for the customer on the screen. There are 2 ticket prices: adult, and senior citizen. Adult seats...