Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Project 3D Vital signs of hospital patients are monitored and reported automatically. While each monitor has alarms which go off when a reading is

Programming Project 3D 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. Use the Priming Read logic to process all records in the file. Each record (line of the file) contains the following fields delimited by a space: first name, lastname, pulse, respiration, oxygen, room. The file contains and unknown number of records. Unlike Program #2, simple stream input from the file should suffice to read this file. A sample file with one record per line might resemble the following

Buster Leggs 88 44 88 120

Charlie Horse56 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

THIS IS THE C++ PROGRAMMING LANGUAGE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions