CSCI1103 Columbus State Community Speeding Tickets Flowgorithm Project

Lab 2 – Speeding Tickets

Background Must be done in Flowgorithm

A state government has decided to standardize speeding tickets. The new speeding tickets will be based on the number of miles per hour a driver was travelling over the posted speed limit. They will use the following table.

MPH Over Limit

Fine

1 – 9

$25

10 – 19

$50

20 – 29

$100

30 – 39

$250

40 or more

$500

Assignment

Write a program that asks the user the speed limit (in MPH) and the driver’s speed in MPH. Compute the difference in speed and using a series of ‘if’ statements determine the fine. Output the speed over the limit and the associated fine.

If the driver was driving at or below the speed limit, the driver was driving legally and there is no fine. Output that the driver was not speeding.

Be sure to include a comment at the beginning of the program with your name, date, and a short description of the program.

Example Output

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.