Question: ( C G D & rccd.instructure.com S SOAP2DAY (71) Robin Thicke -... Programming Ass Relaxing. Watch Scooby-Doo. Programming Assignment 2 Objective: Demonstrate the use of

 ( C G D & rccd.instructure.com S SOAP2DAY (71) Robin Thicke

( C G D & rccd.instructure.com S SOAP2DAY (71) Robin Thicke -... Programming Ass Relaxing. Watch Scooby-Doo. Programming Assignment 2 Objective: Demonstrate the use of decisions to calculate the amount billed based on user inputs. Instructions: 1. The Dangling Dongle cellular company has hired you to write a billing program for data usage on their n network. The rate schedule, including discounts for certain customers, is below. . Base rate is $12.00 and includes up to 1 gigabyte of data. . If they use more than 1 gigabyte of data they are charged $10.00 more. . There are three customer types and discounts: . Normal customers get no discount. als . Retirees get a 10% discount . Students get a 20% discount. 2. Input the following data items from the user. DO NOT change the order of input or the formats: . A 6 character customer ID. . A single character customer status of 'N' (normal), 'R' (retiree) or 'S' (student). . The number of gigabytes used to 2 decimal places. 3. Based on the input, calculate the amount of a customer's bill and output the data as shown below. Challenge: Add a simple loop to continue reading user input and keep a running total of all the custom ral amounts. When the user enters a customer ID of "000000", then exit the loop and display the total am Assignment 4a (whatifx.cpp) shows how this is done. Sample Output: - H 21 29

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 Programming Questions!