Assignment Help-Developing an Algorithm

Assignment Help-Developing an Algorithm

Develop an algorithm or write pseudo code that accepts as input names of an unspecified number of masqueraders who each have the full cost of their costume and the amount each has paid.

A masquerader may have paid for a costume in any of the five sections in the band. The algorithm should determine the section in which a masquerader plays based on the amount he/she has paid for costumes in each section.

The names of persons and the section for which they have paid should be printed. A listing of section should also be printed, along with the total amount of money paid in each section.

Please follow and like us: