Summerville telephone company charges 10 cents per minute


Problem

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 flow chart 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 minutes (four digits). Display the calling number, called number, 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 that last 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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Summerville telephone company charges 10 cents per minute
Reference No:- TGS02647016

Expected delivery within 24 Hours