Create pseudo code and a flowchart for given program

Assignment Help Data Structure & Algorithms
Reference no: EM131811549

Assignment

For this activity, you will need to create pseudo code and a flowchart for the following program:

A calorie counting program that calculates the total weekly calories for breakfast. The program should allow the user to enter the number of calories consumed each day for 7 days, then report the number of breakfast calories consumed for the entire week.

Your document must include:

• Pseudo code for the entire program.

For example:

Declare Integer age
Display "What is your age?"
Input age
Display "The age you entered is:"
Display age

• You can use Microsoft Visio, Dia, draw.io, etc. to create your flowchart. Then you can copy and paste the diagram into Word or save it as a .png image and insert it into Word (It is better if you can save it as an image and insert it into Word because the diagram image cannot be accidentally changed in Word).

102_Flowchart.jpg

• Internal documentation, using block and/or line comments.

• You must declare all variables before using them in your pseudo code. Don't forget that variables are just names. You need to assign values to variables. For example:

Set price = 20
Or
Set dollars = 2.75

• Your pseudo code must illustrate all calculations.

• Your flowchart must depict each step in the program.

• Your flowchart must use 3 types of symbols: ovals (start and end terminal symbols), parallelograms (input and output symbols), and rectangles (processing symbols).

• All symbols must be connected by arrows that represent the flow of the program. The flow must make logical sense.

Reference no: EM131811549

Questions Cloud

What is the operating income : Fixed Expenses per month is $60000.,then what is the Operating income at a volume of 4,000 units per month
Why is your research question important : How do the conclusions of your literature review relate to the various specialization areas in criminal justice?
Compute the standard cost of one unit of product : Compute the standard cost of one unit of product, Compute the budgeted amounts for 2017 for direct materials to be used
Find the materials quantity variance for the period : There were no increases or decreases in inventories during the period. Calculate the materials quantity variance for the period
Create pseudo code and a flowchart for given program : For this activity, you will need to create pseudo code and a flowchart for the program: A calorie counting program that calculates the total weekly calories.
What is the amount of costly trade credit : Langley Clinics, Inc., buys $400,000 in medical supplies each year (at gross prices) from its major supplier, What is the amount of costly trade credit
Develop a new crime fighting strategy for the coming fiscal : Develop a new crime fighting strategy for the coming fiscal year that must be based on a crime causation explanation to be presented to the city council.
What subjective factors would affect the investment decision : What subjective factors would affect the investment decisions
What are the components of pension expense : What are the components of pension expense? How is the interest rate determined? Why are prior service costs amortized?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Develop a simple prototype version of the given algorithm

Before attempting this implementation, you choose to develop a simple prototype version of this algorithm in C++. Specifically, you will build an in-place, order reversal algorithm.

  Determine the order of insertions

Determine the order of insertions with this set of numbers that will result in a perfectly balanced BST(Binary Search Tree) and show the result of a preorder traversal of this tree.

  What role will cryptography play during the election process

2016 is an election year in the United States. What role will cryptography play during the election process? Think about secure one-to-one communication, multi-party communication, multiparty computation etc. All posts must be at least 125 words l..

  Creating dataflow diagram

Think about the level of detail involved with creating a dataflow diagram, why should the narrative be prepared? Explain why do we need the questionnaire?

  Write specifications using uml notation for a function

Write specifications using UML notation for a function that computes the sum of the first five positive integers in an array of  n  arbitrary integers.

  Modify qui cohort to incorporate this modification

The preferred alternative to the approach in Exercise suggested in the text was to ignore all subsists with fewer than LOWER_BOUND elements.

  Making visual studio.net web application

Make a Visual Studio.NET 2005 web application with 2-aspx forms. Add a Menu control and a Label control to form. Populate the Menu control with data stored in the "Font" column and show your name in the Label control.

  Create algorithm to calculate union of two input sets-array

Create algorithm to calculate union of two input sets given as arrays, both of size O(n). The output must be array of distinct elements that form union of the sets.

  Representation of the newick format

Create the graphical representation of Newick format tree given below. Label each leaf with appropriate sequence identifier, and label each branch with its appropriate length.

  Find the number of comparisons used by the bubble sort

Using a generator of random orderings of the integers 1, 2,...,n, find the number of comparisons used by the bubble sort, insertion sort, binary insertion sort.

  Design map reduce algorithms

Design Map Reduce algorithms to take a very large file of integers and produce as output: The largest integer.  The average of all integers. The same set of integers, but with each integer appearing only' once

  Identify the critical path for the given activity

Consider Problem. Suppose that the normal and the expedited costs and times are as given in the following table.

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