At a school’s bazaar, activities were divided into ‘stalls’. At the close of the bazaar,
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.
1
Expert's answer
2018-06-07T05:40:54-0400
Dear Crystal, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment