Question: Help with functions for a simple C++ program? //*******************Define functions******************* If you get a ticket for speeding, your fine is based on how much your
Help with functions for a simple C++ program?

//*******************Define functions*******************
If you get a ticket for speeding, your fine is based on how much your speed exceeded the speed limit by. Suppose the fine is based on the following schedule mount over limit Fine $ 80 $250 $500 Greater than O but less than or equal to 10 Greater than 10 but less than or equal to 20 Greater than 20 Complete the program below to input the legal speed limit and the speed the driver was driving at. Compute and output the fine. Complete getData to input the legal speed and driver's speed. Complete calcFine to calculate the fine. Add the prototypes (i.e. function declarations). Make no changes to main) #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
