Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program called CellPhoneService for Horizon Phones, a provider of cellular phone service. Prompt a user for maximum monthly values for talk minutes needed,
Write a program called CellPhoneService for Horizon Phones, a provider of cellular phone service.
Prompt a user for maximum monthly values for talk minutes needed, text messages needed, and gigabytes of data needed, and then display a recommendation for the best plan for the customer's needs.
A customer who needs fewer than minutes of talk and no text or data should buy Plan A at sag per month.
A customer who needs fewer than minutes of talk and any text messages should buy Plan B at per month.
A customer who needs or more minutes of talk and no data should buy either Plan C for up to but not including text messages at $ per month or Plan D for text messages or more at $ per month.
A customer who needs any data should buy Plan E for up to but not including Gigabytes at $TO per month or Plan F for gigabytes or more at $ per month.An example of the program is shown below:
Enter talk minutes needed
Enter text messages needed
Enter gigabytes of data needed
Plan F $ per month
Step 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