Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem: RaeRae Mobile Communication Service provides their customers three different mobile plans in which customers can choose a package that suite them best. RaeRae mobile

image text in transcribed
image text in transcribed
Problem: RaeRae Mobile Communication Service provides their customers three different mobile plans in which customers can choose a package that suite them best. RaeRae mobile service plans are as follows: Plan Basic: 30 AED/month includes 30 minutes. Additional minute costs 30 fills. Data usage is 30 fills per 1MB Plan Limited: 120 AED/month includes 60 minutes, 100MB of data. Additional minute costs 20 fills, and any extra data usage beyond the 100MB costs 30 fills per 1MB. Plan Unlimited: 200 AED/month includes unlimited calling minutes and unlimited data usage Write a program that prompts the user for a customer first and last name, phone number, what mobile package they use, and the number of minutes and data used that month. With that information, calculate their monthly bill and display it to them. You will al so include in their bill either a recommendation that they switch to a more cost effective mobile package or thank them for being a customer if they have the appropriate package After the invoice is printed, the program shall ask the user if they need to enter the information for another mobile phone or if they wish to exit. If they select the option "Yes" to enter another phone number, prompt the user again for only the phone number, the minutes used, and the data used during the month to calculate the bill for the other phone number. The program shall continuously run until the user select the option "No" for not entering another phone number. In this case, the program will exit The first block of comments that has your name, program description, and academic integrity statement. See Programming Requirements document in iLearn for details. Proper comments for your code Meaningful variable names Make your program easy to read. Use proper indentation Make use of constant variables Use at least one switch statement Error checking. For example, if the user enters an option that is not from the list of options, then print an error message. Also, if the user enters something other than yes or no to enter another phone number, etc. . e 1. 2. 3. Use the template provided to submit your code A printout of your output screenshots (Your output runs should cover the different cases) Log into iLearn and locate Homework 2 Assessment in your section folder. Upload your homework file Problem: RaeRae Mobile Communication Service provides their customers three different mobile plans in which customers can choose a package that suite them best. RaeRae mobile service plans are as follows: Plan Basic: 30 AED/month includes 30 minutes. Additional minute costs 30 fills. Data usage is 30 fills per 1MB Plan Limited: 120 AED/month includes 60 minutes, 100MB of data. Additional minute costs 20 fills, and any extra data usage beyond the 100MB costs 30 fills per 1MB. Plan Unlimited: 200 AED/month includes unlimited calling minutes and unlimited data usage Write a program that prompts the user for a customer first and last name, phone number, what mobile package they use, and the number of minutes and data used that month. With that information, calculate their monthly bill and display it to them. You will al so include in their bill either a recommendation that they switch to a more cost effective mobile package or thank them for being a customer if they have the appropriate package After the invoice is printed, the program shall ask the user if they need to enter the information for another mobile phone or if they wish to exit. If they select the option "Yes" to enter another phone number, prompt the user again for only the phone number, the minutes used, and the data used during the month to calculate the bill for the other phone number. The program shall continuously run until the user select the option "No" for not entering another phone number. In this case, the program will exit The first block of comments that has your name, program description, and academic integrity statement. See Programming Requirements document in iLearn for details. Proper comments for your code Meaningful variable names Make your program easy to read. Use proper indentation Make use of constant variables Use at least one switch statement Error checking. For example, if the user enters an option that is not from the list of options, then print an error message. Also, if the user enters something other than yes or no to enter another phone number, etc. . e 1. 2. 3. Use the template provided to submit your code A printout of your output screenshots (Your output runs should cover the different cases) Log into iLearn and locate Homework 2 Assessment in your section folder. Upload your homework file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago