Question: void display ( const College a [ ] , unsigned n ) ; This function is to display data of the first n elements of
void display const College a unsigned n;
This function is to display data of the first elements of an array of College objects in a nice tabular format. This function is to also display summary information such as the name of the most expensive college, least expensive, and the average Instate total cost of attendance of California colleges.
You are required to use parametric parameters to organize the format. No tabs are allowed. Here's a sample output. You do not have to match the exact spacing. However, it is important that the College names are left justified and that the $ and signs are aligned. It is also important that the average cost at the end is displayed using digits of precision.
tableCollegeCost,Acceptance rateUniversity of California Los Angeles,$
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
