Question: Develop a flowchart or write pseudocode that accepts as input the names of an unspecified number of masqueraders who each have paid the full cost
Develop a flowchart or write pseudocode that accepts as input the names of an unspecified number of
masqueraders who each have paid 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 the
costume. The algorithm should also determine the number of masqueraders who have paid for
costumes in each section. The names of persons and the section for which they have paid should be
printed. A listing of the total amount of money paid in each section should also be printed.
2. Design and execute a trace table to test the algorithm developed in question (1) above. The table
should have a maximum of twelve iterations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
