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

  Identify the dfd elements

Compare the guidelines for preparing flowcharts and DFDs. What general design principles and limitations are common to both documentation techniques?

  Methods of generated data experiments

Overview of the different methods of generated data experiments - Some of visualization techniques are provided in this research to show how well the predictive modelling is performing and show an interesting method in the data related to the proje..

  Sort scheduling algorithms according to high throughput

Sort the scheduling algorithms (FCFS, SPF, RR, MLFB) according to each of High throughput (if we take averages of time intervals smaller than the sum of all processes' time)

  Algorithm to compute-report grade-point average for class

Compute and report grade-point average for class. Determine the sum of the grades; count number of students; compute average. Determine its algorithm?

  Construct the minimal spanning tree using kruskal algorithm

Construct the minimal spanning tree using Kruskal's Algorithm. Construct the minimal spanning tree using Prim's Algorithm, using A as the root

  Threat model to describe risk of attack vector

Construct a simple threat model that describes the risk this represents: attacker(s), attack vector, vulnerability, assets, and likelihood of occurrence, likely impact, and plausible mitigations.

  Discuss some of the emerging trends in information

Discuss some of the emerging trends in information(e.g. computer hardware, software and data analysis

  Converting arithmetic expression in reverse polish notation

Convert the following numerical arithmetic expression into reverse Polish notation and show the stack operations for evaluating the numerical result.

  Write an algorithm to count nodes in a linked list

storage pool and that there is a special null value. Write an algorithm to count the nodes in a linked list with first node pointed to by first."

  Created a linked list class

created a linkedlist class

  Branching are key to most software algorithms

Decisions and branching are key to most software algorithms. For this problem we will be working with prime numbers. Note that 0 IS NOT to be considered prime, but 1 is a prime.

  What are the benefits of linked lists and objects in

what are the advantages of linked lists and objects in program development and design? how does python utilize these

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