Answer to Question #77971 in C++ for Crystal
the manager of each stall submitted information to the Principal consisting of the
name of the stall, the income earned and its expenses. Some sample data were:
Games 2300.00 1000.00
Sweets 900.00 1000.00
Using a structure to hold a stall’s data, write a program to read the data and print a
report consisting of stall name and net income (income - expenses), in order of
increasing net income using selection sort. In addition, print the number of stalls, the total profit or loss of the bazaar and the stall(s) which made the most profit. Stalls which made a profit must be printed in increasing order of profit. Assume that a line containing xxxxxx only ends the data.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!