Using the following lines of code, complete the following fu…

Using the following lines of code, complete the following function called compute_grades, which accepts a vector of student grades (initialized as it is in the following example) as an argument to the compute_grades function’s parameter of the same name…vector gradelist = {85, 90, 95, 82, 96, 91, 30, 59, 43, 72, 75, 78};… and determines the average of the list of grades, as well as the highest and lowest grades in the list: void compute_grades(vector gradelist) {} (Hint: Recall that we can get the size of a vector using its size() method, and that we can access a single element by its position within the vector using square brackets.)

Mrs. Evelyn Carter, a 72-year-old with congestive heart fail…

Mrs. Evelyn Carter, a 72-year-old with congestive heart failure (CHF) and chronic kidney disease (CKD) is on strict I&O monitoring during your 7:00 AM – 7:00 PM shift. At 8:00 AM, she drinks 240 mL water with meds. At 9:30 AM, she consumes 120 mL orange juice. By 10:15 AM, 250 mL IV fluids have infused. At 12:00 PM, she drinks 180 mL chicken broth and 150 mL iced tea, then voids 500 mL at 12:30 PM. After physical therapy at 2:30 PM, she drinks 200 mL water. At 3:00 PM she vomited 150 mL. By 4:00 PM, another 250 mL IV fluids have infused. At 4:30 PM, her JP drain collects 50 mL. At 6:00 PM, she drinks 180 mL coffee and 120 mL soup, then voids 600 mL at 6:30 PM. Calculate total intake and total output for this patient.Then calculate the patient’s net balance (be sure to include if it is + or -)Label Your AnswersEx: Intake (xxx mL), Output (xxx mL), Net Balance (+/-xxx mL)