here is my code
1. the program will allow as many groups to enter the runners that will participateCode:cout<<"Number of Runners for Marathon in group"; cin>>regs; while (runner > 0) { count++; if (runner >=1) fee= fee*count; if (runner >= 5) fee= fee*count; if (runner >=15) fee= fee*count; cout<<"Enter next group of runners"; cin>>runner; } totalRunner= count; totalfee= chargeOne && chargeTwo && chargeThree; average= totalCharge/regs;
2.after the runners entered is 0.i want the program to display the amount of runners , total fee amount, and the average for each runner
here is the fee table
runner fee
1-5 runners= 20 each
5-15 runners= 50 each
15 runner or more= 70 each



LinkBack URL
About LinkBacks


