Page 1 of 1

This file contains two years of data taken from the Hospital, listing the quantity of Patient check-in from Jan. 2020 un

Posted: Fri Jul 01, 2022 5:46 am
by answerhappygod
This file contains two years of data taken from the Hospital,listing the quantity of Patient check-in from Jan. 2020 until Dec.2021. The first three lines of the file are a header. Eachremaining text item is an integer representing the quantity ofPatient check-in in that month (starting in Jan. 2020) followed bya 3 letter abbreviation of the month, underscore, and the year. Asyou work through the problem state any assumptions. File reading -read the data in. Store header in a string variable and rest of thedata stack of structs by using C++, which also includes using mapand vectors. Process/Calculations - Store all the months where thequantity of Patient check-in from one month to the next increasedinto a vector of strings. Remember your data is stored in a stackso when doing the calculation, you will be doing so backward intime. Print out all months you found on the screen (in order ofincreasing time). Do these calculations after file reading andstoring all your data in the original container. DataFile.txtPatient check-in time from 2021-2022 quantity time 530 Jan_2020 652Feb_2020 742 Mar_2020 686 Apr_2020 752 Aug_2021 716 Sep_2021 754Oct_2021 704 Nov_2021 658 Dec_2021