Design a flowchart or pseudocode

Assignment Help Data Structure & Algorithms
Reference no: EM13808615

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 60 messages per month, regardless of message length, are included in the basic bill.

An additional five cents is charged for each text message after the 60th message, up to 180 messages.

An additional 10 cents is charged for each text message after the 180th message.

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 customer's 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.

Reference no: EM13808615

Questions Cloud

Availability can lead to disastrous decisions : Behavioral heuristics, such as availability, anchoring, vividness, storage, conjunction fallacy, and representativeness, all reflect behavioral traits, which if left unchecked may lead to systematic bias in the choices you make. For example, ancho..
Explain through physical concepts : Explain through physical concepts why the following are words of wisdom - You and a friend are watching a pool-shark showing off his prowess at billiards. In one demonstration, the pool-shark placed two billiard balls, one red and the other white, ..
Explain advantages and disadvantages of each perspective : Explain advantages and disadvantages of each perspective
Discuss role that global inequality and poverty have played : Discuss the role that global inequality and poverty have played in your chosen event. Provide examples of these roles to support your rationale.
Design a flowchart or pseudocode : Design a flowchart or pseudocode for the following: A program that accepts the following data about one customer's bill: customer area code (three digits), customer phone number (seven digits), and number of text messages sent. Display all the dat..
What actions and mediums are covered as speech : What actions and mediums are covered as "speech" that is Constitutionally protected under the First Amendment. Were all of these in existence at the time of the Constitution's framing
What is lean manufacturing : What is lean manufacturing? Provide examples of companies using lean manufacturing and how it benefits them. What are the requirements for balancing JIT (just in time) and lean systems?
Participate in a brainstorming meeting : In preparation for that meeting, you ask your staff to participate in a brainstorming meeting.
Determining the most effective way to communicate : As a manager, what factors do you consider when determining the most effective way to communicate a message to you employees? Does this change if you are preparing to communicate the same message to your superiors? Why? Post your response here in ..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Astronaut.data must be read into a 1-d array

Data from the Astronaut.data must be read into a 1-D array of structures(or classes) named ASTRONAUT and thereafter all processing must be performed on the array of structures.

  What is minimum number of nodes expanded for bfs and dfs

Consider the following graph representing the state space and operators of a navigation problem: What is the minimum number of nodes expanded and the storage needed for BFS and DFS?

  Huffmancodes

You will turn in one file: HuffmanCodes.java, which can encode and decode files using Huffman codes. The program has the following command-line interface:

  Build b tree for the part table

Build B+ tree for the PART table with n = 6 pointers; illustrate how B+ tree expand (show several intermediate trees) and what final tree will look like.

  Truth teller problem

Assume you were in a nation where each person was either a truth teller or a liar. Determine what single question could you ask a person that would permit you to detect whether that person was a truth teller or a liar?

  System analyst

A huge, well regarded supplier of key raw materials to your corporation's production process requires a year-end summary report of totals purchased from it.

  Write pseudocode of warshall algorithm

Write pseudocode of Warshall's algorithm assuming that the matrix rows are represented by bit strings on which the bitwise or operation can be performed

  Identify the most important facts about the diet

Identify the most important facts about the diet. State your opinion about the diet.Support your opinion with relevant facts or research

  Find cost of sorting the relation in seconds

Suppose you need to sort a relation of 40 gigabytes, with 4 kilobyte blocks, using a memory size of 40 megabytes. Find the cost of sorting the relation, in seconds, with bb = 1 and with bb = 100.

  Dbms and data mining to imporve customer service

Discuss how a database management system and data mining can help motor vehicle maintenance center improve its services, and what tables would be required in such a database.

  Define wan and provide an example of typical wan setup

Define a WAN and provide an example of a typical WAN setup and describe the components. Provide a picture, chart, or image if possible.

  Data stewardship

Discussion: As more and more data are collected, stored, processed, and disseminated by organizations, new and innovative ways to manage them must be developed.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd