subject

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

l The first 60 messages per month, regardless of message length, are included in
the basic bill.
l An additional five cents is charged for each text message after the 60th
message, up to 180 messages.
l An additional 10 cents is charged for each text message after the 180th message.
l Federal, state, and local taxes add a total of 12 percent to each bill.
Design a flowchart or pseudocode for the following:

a. A program that accepts the following data about one customers bill: customer
area code (three digits), customer 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 $20.

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Some of your friends have gotten into the burgeoning field of time-series data mining, in which one looks for patterns in sequences of events that occur over time. purchases at stock exchanges--what’s being bought-- are one source of data with a natural ordering in time. given a long sequence s of such events, your friends want an efficient way to detect certain "patterns" in them--for example, they may want to know if the four events buy yahoo, buy ebay, buy yahoo, buy oracle occur in this sequence s, in order but not necessarily consecutively. they begin with a collection of possible events (e.g., the possible’ transactions) and a sequence s of n of these events. a given event may occur multiple times in s (e.g., yahoo stock may be bought many times in a single sequence s). we will say that a sequence s’ is a subsequence of s if there is a way to delete certain of the events from s so that the remaining events, in order, are equal to the sequence s’. so, for example, the sequence of four events above is a subsequence of the sequence buy amazon, buy yahoo, buy ebay, buy yahoo, buy yahoo, buy oracle their goal is to be able to dream up short sequences and quickly detect whether they are subsequences of s. so this is the problem they pose to you: give an algorithm that takes two sequences of even~s--s’ of length m and s of length n, each possibly containing an event more than once--and decides in time o(m n) whether s’ is a subsequence of s
Answers: 2
question
Computers and Technology, 22.06.2019 04:50
Which are steps taken to diagnose a computer problem? a) reproducing the problem and using error codes b) reproducing the problem and troubleshooting c) using error codes and troubleshooting d) using error codes and stepping functions
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
The Dash Cell Phone Company charges customers a basic rate of $5 per month to
send text messag...
Questions
question
History, 24.02.2021 16:40
question
Mathematics, 24.02.2021 16:40