Programming Homework Help
Programming Homework Help. Write a C programming
You are given a data set of hospitals in Florida about cost and quality of care for pneumonia. Write a
program to sort the hospitals by cost in ascending order.
The hospitals being sorted should only include
hospitals of quality of “Better” or “Average” and overall rating 3 or higher. Write the result to the output
file.
The input file has the format of Facility name (String), Facility city (String), Facility State (String), Overall
rating (Integer), Pneumonia cost (Integer), Pneumonia quality (String), pneumonia value (String), with
each facility on a separate line:
Larkin Community Hospital Palm Springs
Example
input/output:
Enter the file name: pneumonia_Florida.csv
Output file name:
output.csv