# (Solved) : Data Structure Hospital Bill Struct Bill Char Name 30 Long Id Char Insurer 12 Float Totalb Q41991388 . . .

\$9.00

1. WWrite code in C++ and please give ascreenshot of output window.

In the data structure hospital bill struct bill { char name[30]; long id; char insurer[12]; float totalBill; float totalPayment; Total Bill describes the total cost of hospital and totalPayment is the amount paid toward this bill. The difference is what is owed Download lab10.c, lab10main.c, lab10.h size=generate List(Ar, seed); will generate a list of size many struct bill’s 1. write a function void sortByinsurer(struct bill Ar[], int size); call the function in main and print in main in a formatted manner 2. write a function float computeMaxTotalBillAetna(struct bill Ar[], int size); which returns the maximum totalBill of all struct bill that has Aetna as insurer call the function in main and print in main in a formatted manner Show transcribed image text In the data structure hospital bill struct bill { char name[30]; long id; char insurer[12]; float totalBill; float totalPayment; Total Bill describes the total cost of hospital and totalPayment is the amount paid toward this bill. The difference is what is owed Download lab10.c, lab10main.c, lab10.h size=generate List(Ar, seed); will generate a list of size many struct bill’s 1. write a function void sortByinsurer(struct bill Ar[], int size); call the function in main and print in main in a formatted manner 2. write a function float computeMaxTotalBillAetna(struct bill Ar[], int size); which returns the maximum totalBill of all struct bill that has Aetna as insurer call the function in main and print in main in a formatted manner