Problem

The Summerville Telephone Company charges 10 cents per minute for all calls outside the...

The Summerville Telephone Company charges 10 cents per minute for all calls outside the customer's area code that last over 20 minutes. All other calls are 13 cents per minute. Design a flowchart or pseudocode for the following:

a. A program that accepts the following data about one phone call: customer area code (three digits), customer phone number (seven digits), called area code (three digits), called number (seven digits), and call time in min-utes (four digits). Display the calling number, called num-ber, and price for the call.

b. A program that continuously accepts data about phone calls until a sentinel value is entered, and displays all the details only about calls that cost over $10.

c. A program that continuously accepts data about phone calls until a sentinel value is entered, and displays details only about calls placed from the 212 area code to the 704 area code thatlast over 20 minutes.

d. A program that prompts the user for a three-digit area code from which to select phone calls. Then the program continuously accepts phone call data until a sentinel value is entered, and displays data only for phone calls placed to or from the specified area code.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 4
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT