Airport parking violation bureau wants you to Design a program
to compute fines for parking violations. There are four types of
violation: type A carries a fine of $10, type B carries a fine of
$20, type C carries a fine of $30, and type D carries a fine of
$50. The program should ask for the number of type A violations,
the number of type B violations, and so on. If the number of type
A, B, or C violations exceeds 10, impose an additional fine $50 for
each category that exceeds 10. If the total number of type A, B, or
C exceeds 20 but none of types A, B, or C individually exceeds 10,
impose an additional fine of $75. If the number of type D
violations exceeds 3, impose an additional fine of $20 for each
type D violation over three. The program should print the total
fine for the person.