Question: hello im not sure why my code is doing this its still displaying a patient even though the numbers i typed was not a valid
hello im not sure why my code is doing this its still displaying a patient even though the numbers i typed was not a valid number



a/ Find the patient array Index by patient number (returns "1 if not found // (TODo: PUT THE FUNCTION DEFINITION BELOW) Bint findPatientIndexByPatientNum(int patientNumber, const struct Patient patient , int max) int i; for ( i = 0; i name) ; printf("Number: $05d\ ", patient->patientNumber) ; printf("Phone : ", patient->phone number ; displayFormattedPhone(patient->phone . number) ; printf(" (%cc cc)", patient[i] . phone. description[0], patient[i] . phone. description[1], patient[i] . phone. description[2], patient[i] . phone . description[3]); else printf("*** No Records Found ***\ ");election: 1 earch by patient number: 124532 lame : Shaggy Yanson lumber : 01024 hone : (304 ) 800-5191 (CELL )Patient Management ) VIEW Patient Data SEARCH Patients
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
