Question: The Dash Cell Phone Company charges customers a basic rate of $5 per month to send text messages. Additional rates are as follows: The first

The Dash Cell Phone Company charges customers a basic rate of $5 per month to send text messages. Additional rates are as follows:

  • The first 100 messages per month, regardless of message length, are included in the basic bill.
  • An additional three cents is charged for each text message after the 100th message, up to and including 300 messages.
  • An additional two cents is charged for each text message after the 300th message.
  • Federal, state, and local taxes add a total of 14 percent to each bill.

Design a flowchart or pseudocode for the following:

a. A program that accepts the following data about one customer’s messages: area code (three digits), phone number (seven digits), and number of text messages sent. Display all the data, including the month-end bill both before and after taxes are added.

b. A program that continuously accepts data about text messages until a sentinel value is entered, and displays all the details.

c. A program that continuously accepts data about text messages until a sentinel value is entered, and displays details only about customers who send more than 100 text messages.

d. A program that continuously accepts data about text messages until a sentinel value is entered, and displays details only about customers whose total bill with taxes is over $10.

e. A program that prompts the user for a three-digit area code from which to select bills. Then the program continuously accepts text message data until a sentinel value is entered, and displays data only for messages sent from the specified area code.

Step by Step Solution

3.42 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Flowchart Pseudocode start Declarations num custAreaCode num custPhoneNum num numTxtMsgs num taxes num beforeTaxCost num afterTaxCost num BASERATE 5 num MINMSGS 100 num MAXMSGS 300 num MINRATE 003 n... View full answer

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 Logic & Design Questions!