Hi im new to c++ cant figure out what im doing wrong when im writting this program. it keps automatically going to default and quitting when i input an answer. am i doing something wrong with the switch statement or the if statement?
Exercise #3 – ISP Problem An Internet service provider has three different subscription packages for its customers. Package A For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B For $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C For $19.95 per month unlimited access is provided. Write a program that calculates a customer's monthly bill. It should ask which package the customer has purchased and how many hours were used. It should then display the total amount due. Input validation: Be sure the user only selects package A, B or C. Also the number of hours in a month cannot exceed 744.
what i have so far