<p>CS.112 Lab #17 1</p><p>Speeding Violation Calculator</p><p>Design a modular program that calculates and displays the number of miles per hour over the speed limit that a speeding driver was doing. The program should ask for the speed limit and the driver’s speed. Validate the input as follows:</p><p> The speed limit should be at least 20, but not greater than 70.</p><p> The driver’s speed should be at least the value entered for the speed limit (otherwise the driver was not speeding).</p><p>Once correct data has been entered, the program should calculate and display the number of miles per hour over the speed limit that the driver was doing.</p><p>1. Write a Python program for Speeding Violation Calculator.</p><p>2. Write a Raptor program for Speeding Violation Calculator.</p><p>3. What part of this lab did you find the most challenging?</p><p>4. Is there anything that you are confused about after completing this lab?</p><p>5. Submit your completed lab17.docx, lab17.py, and lab17.rap files to the portal for grading. Be sure to attach all 3 files for grading.</p>
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages1 Page
-
File Size-