Question: Problem ld Doc's Sangree, by The Sangree Old Folks Home is in deep financial trouble and the owner, o decides to go on a massive
Problem ld Doc's Sangree, by The Sangree Old Folks Home is in deep financial trouble and the owner, o decides to go on a massive fundraising campaign. The local high school offers sponsoring a dance marathon. Old Doc Sangree would like you to write a program the data gathered on the couples who will dance and their sponsors. to help to process Input: they Every couple that dances is given a unique ID number. Each sponsor is asked how much are willing to donate for each hour the couple dances and the maximum number of hours they are willing to pay for Data: ID HRS Rate 5 0.80 2.00 3.40 2.25 1.00 0.65 1.50 4.00 10.00 4.50 3.75 4.75 141 161 141 132 141 141 161 132 157 4 a) The first number is the ID number of the couple being sponsored (ID) b) The second number represents the maximum number of hours the sponsor is willing to pay for (HRS) c) The third number is a real value which gives the dollar per hour amount that the sponsor will donate (RATE)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
