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

  Explain binary tree by induction

Binary tree is full if all of its vertices have either zero or two children. Let Bn denote number of full binary trees with n vertices. Illustrate by induction (substitution) that Bn is 2 (n) .

  You and your eight-year-old nephew elmo decide to play a

you and your eight-year-old nephew elmo decide to play a simple card game. atthe beginning of the game the cards are

  Finds the location of the largest even integer

Describe an algorithm that takes as input a list of n distinct integers and finds the location of the largest even integer in the list or returns 0 if there are no even integers in the list.

  A[0..n-1] and b[0...n-1] are sorted arrays

A[0..n-1] and B[0...n-1] are sorted arrays where each contains n numbers. Design an O(n*log(n)) algorithm to find the median of all elements in arrays X and Y.

  Explain queue crawl through memory in direction of its head

Does queue crawl through memory in direction of its head or its tail? Describe your answer. Describe how lack of metrics for measuring certain software properties affects software engineering discipline.

  Reverse path flooding

Suppose we have a network of nodes connected via point to point links, and source S sends a message that will be broadcast to all nodes using Reverse Path Flooding.

  Draw one child diagram using the level 0 diagram

As a systems analyst or knowledgeable end-user, you must learn how to draw data flow diagrams to model business process requirements.

  Create an application to implement apriori algorithm

Create an application to implement Apriori Algorithm and demonstrate the two main phases in it, which are i) Generation of frequent itemsets; ii) Generation of association rules.

  Question 1nbsplist and describe the four steps in polyas

question 1nbsplist and describe the four steps in polyas how to solve it listquestion 2nbsplist the three phases of the

  Task 0111 write down the pseudo code for merge sort

task 011.1 write down the pseudo code for merge sort algorithm and using bellow array values perform the merge sort

  Conceptual model entity relationship diagram

Assume you are asked you to create a new entity-relationship diagram for a corporation for a customized shipment tracking system.

  Write control structure-pseudocode algorithm for simple task

Three simple control structures which could be used to make this algorithm. What do you believe is most difficult part of creating algorithm?

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