Internet Usage Calculator Prorgam
Hello,
I am trying to write a program that calculates a person's internet service bill. I am having trouble in two major areas:
The first is that there are three packages the user is instructed to pick, A, B, or C-How do I tell the program to terminate if one of these letters isn't picked?
The other is to how do I do the calculations-package A is 9.95 for ten hours, B is 14.95 for 20 hours, and C is unlimited... I understand the symbols, etc for the calculations... I'm just stuck on how to tell the program what to do if there is 16 hours used and the person has package A... my instructions ask me to tell the user how much the person would save if they switched to say Package B...
I am very, very new to prorgramming,
Thanks in advance,
Shane