Question
A patient record has the following details. ID - A unique integer denoting a patient ID FName A string to store the first name of
A patient record has the following details.
ID - A unique integer denoting a patient ID
FName A string to store the first name of the student
LName - A string to store the last name of the student
Vitals A int array that will store just patients vitals like BP, Sugar, Pulse Define the structure for a patient.
Then define an array of structures for 250 patients. Read from patientsInfo.txt all the patient's information and store it in a dynamic array of structures.
here is the text file
ID FN LN BPU BPL Pulse 1 Sri Sri 120 80 84 8 Ala Sri 130 87 90 4 Jey kes 150 97 92 7 Priya Kes 180 87 96 3 Leo Mathew 110 87 90 11 Luis Cast 120 80 84 18 Arg Jose 130 87 90 14 Rylie How 150 97 92 17 Pat Will 180 87 96 13 Leo Zach 110 87 90
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started