Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Modify your flowchart from Module 03 and create validation loop. This time, your flowchart must first validate the user's entry is not equal to zero (0). Your flowchart must then display the user's...

1 answer below »

Modify your flowchart from Module 03 and create validation loop. This time, your flowchart must first validate the user's entry is not equal to zero (0). Your flowchart must then display the user's weight status based on their entry.

The following is from the Centers for Disease Control (http://www.cdc.gov/healthyweight/assessing/bmi/adult_bmi/index.html):

HeightWeight RangeBMIWeight Status5' 9"124 lbs. or lessBelow 18.5Underweight125 lbs. to 168 lbs.18.5 to 24.9Normal or Healthy Weight169 lbs. to 202 lbs.25.0 to 29.9Overweight203 lbs. or more30 or higherObese

Your submission must include:

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

  • Your flowchart must depict each step in the program, as well as the module.
  • 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.
  • You must also create flowchart illustrating the logic of your input validation loop.
Answered Same Day Apr 29, 2021

Solution

Aditya answered on Apr 30 2021
149 Votes
Pseudo Code
import the BMI module
declare height and weight as 0.0 and height_counter and weight counter as 0
check if height_counter is equal to zero or not if it is equal to zero repeat this step otherwise go to next step
    take height from the use
    if height is greater than zero increment height_counter with 1 otherwise again take input from use
check if weight_counter is equal to zero or not if it is equal to zero repeat this step otherwise go to next step
    take weight from the use
    if weight is greater than zero increment weight_counter with 1 otherwise again take input from use
call the CalculateBMI(height,weight) function from the BMI mmodule and store the value return by it in a variable named body_mass_index
print the body_mass_index
if...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here