Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java program Due Friday by 8pm Points 100 Submitting a file upload Available Mar 2 at 12am- May 25 at 11:59pm 3 months Write a
java program
Due Friday by 8pm Points 100 Submitting a file upload Available Mar 2 at 12am- May 25 at 11:59pm 3 months Write a program that calculates the user's monthly phone bi. A phone company has these three plans for its customers: Plan A: $39.99 monthly, 4 gigabyte data limit, $10/GB for additional data Plan B: $59.99 monthly, 8 gigabyte data limit, $5/GB for additional data . Plan C: $69.99 monthly, unlimited data Your program should ask the user to enter: # gigs of data used in the month which plan they're on: A, B, or C . Your program should then output their itemized bil or that month in the forma Input validation: . Plan B: $59.99 monthly, ul addldonal 8 fizabyte data limit S5/GB for aditional data data . Plan B: $59.99 monthly, 8 gigabyte data limit, $5/GB for additional data Plan C: $69.99 monthly, unlimited data Your program should ask the user to enter: . # gigs of data used in the month . which plan they're on: A, B, or C Your program should then output their itemized bil for that month in the format shown below. Input validation: # gigs used must be greater than or equal to 0. Give an error message and tell the user to run t . program again. Plans must be A, B, or C. Give an error message and tell the user to run the program again. . Other requirements: . The user can enter either uppercase or lowercase letters for their Phone Plan input . Use a switch statement. Sample input/output is below. You must match this formatting exactly. Note two decimal places. No justifications of the labels. Also note that there are two separate output examples, one for plan B. ar for plan C. Note that since plan C has unlimited data, the data fhelds for overage and extra charges arStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started