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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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