Write the pseudocode using if-then-else statements

Assignment Help Data Structure & Algorithms
Reference no: EM131822705

Assignment

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.

70_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: EM131822705

Questions Cloud

What was the original pressure of the gas in the container : What was the original pressure of the gas in the container? What was the original temperature of the gas in the container?
Preparing the business activity statements : James Zhang owns and manages a restaurant at the Macquarie Shopping Center. James accepts only cash payment. Any of his staff can collect payments.
Genetics or the expectations and dictates of society : Determine whether you believe the actions of females and males are based more on genetics or the expectations and dictates of society.
Describe the issue related to the social science : Describe your selected social science issue and include two relevant questions that social science professionals might be interested in.
Write the pseudocode using if-then-else statements : Write the pseudocode using If-Then-Else statements and create a flowchart with a dual alternative decision structure.
What is the speed of propagation of waves : When it vibrates with the third harmonic the amplitude of the string at an antinode A of the standing wave on the string has an amplitude of 5 cm.
How long is the solenoid : A solenoid with air core has a magnetic induction of 0.08Weber/m2 at its center when a current of 40A flows through the wires having 500 turns.
Assess the impact of state-sponsored programs : Assess the impact of state-sponsored programs or interventions that may exist to address your selected public health issue.
Prepare a cash budget for july, august and september : Prepare a cash budget for July, August, and September. Forecasted cash receipts and forecasted cash payments

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