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

In the data structure hospital bill struct bill { char name[30]; long id; char insurer[12]; float totalBill; float totalPaymeWWrite 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

Expert Answer


Answer to In the data structure hospital bill struct bill { char name[30]; long id; char insurer[12]; float totalBill; float total…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?