Answered You can hire a professional tutor to get the answer.

QUESTION

Making a program in C++ visual studio the question was: Vital signs of hospital patients are monitored and reported automatically.

Making a program in C++ visual studio the question was: 

Vital signs of hospital patients are monitored and reported automatically.  While each monitor has alarms which go off when a reading is out of range, combinations of readings are also important.  Common vital signs and normal range is given below.

Pulse                 60-100

Respiration         12-20

Oxygen Level 92-100

Write a program to read a series of patient records from the file PATIENTS.TXT.  Each record contains the following fields delimited by a space: first name, lastname, pulse, respiration, oxygen, room. The file contains and unknown number of records. A sample file might resemble the following

Buster Leggs 88 44 88 120

Charlie Horse  56 15 95 011

Wilma Moneylast 132 18 98 200

Willie Makit 75 30 94 121

Betty Wont 50 10 90 000

Eaton Buggs 79 16 97 111

Freda Spirit 110 23 90 220

Categorize each reading as Low, Normal or High.  Print the result in the report detailed below.

Tag each record as according to the following and print any needed messages in the report for each record

CHECK – one indicator out of range

ALERT – two indicators out of range

CRITICAL – three  indicators out of range

Buster Leggs 88 44 88 120 Charlie Horse 56 15 95 011 Wilma Moneylast 132 18 98 200 Willie Makit 75 30 94 121 Betty Wont 50 10 90 000 Eaton Buggs 79 16 97 111 Freda Spirit 110 23 90 220
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question