State of Alabama parking violation bureau wants you to write aprogram to compute fines for parking violations. There are fourtypes of violations: type A carries a fine of $10, type B carries afine of $20, type C carries a fine of $30, and type D carĀ rise afine of $50. The program should ask for the number of type Aviolation, the number of type B violations, and so on. Use fourseparate functions to obtain the number of violations of each type.If the number of type A, B, or C violations exceeds 10, impose anadditional fine $50 for each category
OR
OR