60 583
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #70395 in C++ for Nadia Negash

Question #70395
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.




Expert's answer
Dear Nadia Negash, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions