Task 3: High cholesteral and high triglycerides have been assicuated with cardiovascular disease. During yearly medical visits a doctor might recommend certain actions if certain test results are received (see Table 1). Write a program that allows the user to enter the numeric cholesteral and triglyceride results and the gives the doctor a recommendation. Please show step-by-step on LabVIEW. Table 1 Recomendation Triglyceride (mg/fL) Total cholesteral Suggest a full workup >886 >240 mg/dL Suggest change in diet 500 to 886 200 to 239 Suggest change in activity 150 to 499 N/A All good <150 <200 Task 4: Create a new version of your file for Task 4. Add two boolean indicators (Round LED). One should light up when both Triglyceride AND Cholesteral levels are in the “All good” range. The other should light up when either Triglyceride OR Cholesteral levels are in the “Suggest a full workup” range. Please show step-by-step on LabVIEW.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 27PE
icon
Related questions
Question

Task 3:

High cholesteral and high triglycerides have been assicuated with cardiovascular disease. During yearly medical visits a doctor might recommend certain actions if certain test results are received (see Table 1). Write a program that allows the user to enter the numeric cholesteral and triglyceride results and the gives the doctor a recommendation. Please show step-by-step on LabVIEW.

Table 1

Recomendation Triglyceride (mg/fL) Total cholesteral
Suggest a full workup >886 >240 mg/dL
Suggest change in diet 500 to 886 200 to 239
Suggest change in activity 150 to 499 N/A
All good <150 <200

Task 4:

Create a new version of your file for Task 4. Add two boolean indicators (Round LED). One
should light up when both Triglyceride AND Cholesteral levels are in the “All good” range. The
other should light up when either Triglyceride OR Cholesteral levels are in the “Suggest a full
workup” range. Please show step-by-step on LabVIEW.

Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr