Transcript

Problem solving and programmingProgram Description

The program is required to accept the number of masqueraders who have paid for their costumes in full. The program should then determine the section in which a masquerader plays based on the amount he or she paid for the costume. The total number of persons are to be registered and their total amount of money paid. Their names and corresponding sections should be printed. Trace Table ID#SectionFirst Name Last NameName of BandCostume Payment Total Payment(US)

B9091LionelMessiHott Flames $ 144.00 $ 294.00

B9101PerMertersackerHott Flames $ 144.00 $ 294.00

B9192Christiano RonaldoDynamite Flamez $ 198.00 $ 348.00

B9333Mario BalotelliThe Quengerz $ 252.00 $ 302.00

B9363Steven GerrardThe Quengerz $ 252.00 $ 402.00

B9544WayneRooneyKonshense Warriors $ 315.00 $ 365.00

B9554LukeShawKonshense Warriors $ 315.00 $ 365.00

B9605RomarioBakerHot Steppaz $ 382.50 $ 432.50

Total Masquerader8

Total Costume Payment $ 2,802.50

Section 1 Total $ 588.00

Section 2 Total $ 348.00

Section 3 Total $ 704.00

Section 4 Total $ 730.00

Section 5 Total $ 432.50


Recommended