Create a flowchart with dual alternative decision structure

Assignment Help Data Structure & Algorithms
Reference no: EM132286049

Question: Write the pseudocode using If-Then-Else statements and create a flowchart with a dual alternative decision structure for the following example:

A normal resting heart rate for an adult usually ranges from 60 to 100 beats a minute. Generally, a lower heart rate at rest implies more efficient heart function and better cardiovascular fitness.

Write a program that displays "Heart rate is normal" if the heart rate variable a user enters is within the "normal" range. If the heart rate is outside this range, then display "Heart rate is abnormal."

Your document must include:

• Pseudo code for the entire program.

• You may use Microsoft Visio to create your flowchart and export the drawing as a JPG. Paste your image in your Word document with your pseudo code. Use File >> Export As >> Image.

• 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.

Information related to above question is enclosed below:

Attachment:- DecisionStructure.rar

Reference no: EM132286049

Questions Cloud

What is the ytc : There is a call premium of 5%. If they are currently priced at $1200 per bond. What is the YTC? If they are not called, what is YTM
Lifetime of the bond : Consider a discount bond and assuming that the YTM is expected to remain constant over the lifetime of the bond, does one expect the current yield
Explain the hacker ethic and hacker manifesto : CRJ 310 : Explain the hacker ethic and hacker manifesto. Give your opinion as to why hackers do not consider themselves to be criminals.
What is the net present value of project : a) What is the net present value of this project?
Create a flowchart with dual alternative decision structure : Write the pseudocode using If-Then-Else statements and create a flowchart with a dual alternative decision structure for the following example.
What is the amount if you pay for the washing : What is the amount if you pay for the washing machine today?
Arithmetic and geometric returns for the stock : A stock has had returns of 10 percent, 28 percent, 15 percent, -16 percent, 28 percent, and -6 percent over the last six years.
What statutory rights does company : What statutory rights does company "x" has against company "xy" and what does it needs to prove?
What is the expected return on a portfolio : A stock has a beta of 1.30 and an expected return of 10 percent. A risk-free assets currently exams 3.4 percent.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Display a summary of all of the movie titles

Display a summary of all of the movie titles, the number of movies entered, and the length of the longest movie. Note: Remember the good design principles you have already learned in the course.

  Find capacity of a particular airplane type

Consider the entities and their attributes. You should 1st determine what entities want to track. Next determine what attributes are required for each entity, and what relations exist between these entities.

  Design and test a class for maintaining a storage pool

The data structure used for the concordance is thus constructed from a good sample of those we have been studying: an array of binary search trees.

  Computing time complexity of procedure

What is the time complexity of the procedure? If A[l .. r] = [24, 30, 09, 46, 15, 19, 29, 86,78], what is the output?

  Is the hypertext fiction non-linear

Does the author address a solid aspects of the topic in his/her wiki? Is the wiki fact driven? Meaning, does the content presented clearly influence how the wiki is constructed?

  Development activities and configuration management

Development Activities and Configuration Management

  What is the worst case of avl tree?

the binary tree can look like a linked list in the worst case. What is the worst case of AVL tree? To get an idea, do the following: What is the minimum # of nodes in each of the AVL trees with heights 2, 3, 4, and 5?Explain please.

  Discussion on clustering and data mining

Clustering is generally used along with classification in some applications. In such a case, typically clustering is applied to a dataset to recognize natural grouping of the objects in the dataset,

  What information is stored in a process data structure

A process can be described as a data structure containing different fields or attributes. What information is stored in a process data structure?

  Nbspa stack evaluating the postfix expression lrm using

nbspa stack evaluating the postfix expression lrm using linked list implementationthis step will use the queue

  Sort the functions by increasing order of growth

Array A of size n contains all integers form 1 to (n+1) but one! Assuming the array is sorted, propose a (best-running time) algorithm that finds/identifies the missing number, and analyze its worst-case running time in terms of big-O notation

  Develop a caesar cipher-type encryption algorithm

Develop a Caesar cipher-type encryption algorithm with a little more complexity in it.

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