Question: Task 2 Selection Phone Contract Add - onsA phone company provides a basic contract at a price of 1 0 . 5 0 per month.

Task 2 Selection Phone Contract Add-onsA phone company provides a basic contract at a price of 10.50 per month. The companyalso provides the three following optional add-ons:Friends and family, 2.00 per monthVoicemail, 3.20 per monthUnlimited minutes, 5.70 per monthIndividually selected add-on prices are reduced by 10% if 2 or more add-ons are selected.Create a program that prompts the user to state whether they wish to include Friends andfamily, Voicemail and/or Unlimited minutes. The program should then calculate thecustomers total monthly bill by applying any relevant discounts.2What you will need to complete this task:INPUT commands which ask the user to enter y or n to a given question.IF/ELSE statements to process the user responses and apply the required logic to yourcalculationsMake sure you identify and declare all required variables and initialize any that needinitializing.Make sure you test your program carefully to ensure the correct totals are being calculatedwith any discounts applied to the individual add-ons if two or more have been selected.Also think about efficient code design and how you could avoid repeating similar code blocks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!