Question: Introduction: Assignment requires application of coding learned in the Variables and Expressions chapter. Instructions: For this assignment you will create a program using IDLE. The

Introduction: Assignment requires application of coding learned in the "Variables and Expressions" chapter. Instructions: For this assignment you will create a program using IDLE. The program is to that calculate the total amount of a meal purchased at a restaurant. The instructions below explain the program requirements: 1. Create a Python code file named P2HW1_Distance Traveled_FirstnameLastname.py (replace "FirstLast" with your own name) 2. Add a title comment block to the top of the new Python file using the following form # A brief description of the project # Date # CTI-110 P2HW1 - Distance Traveled # Your Name # 3. Ask user to enter the car speed 4. Ask user to enter hours traveled 5. Calculate distance ( speed x time) 7. Display the following: *Speed Entered *Time entered *Display distance traveled Write program Pseudocode ( detail algorithm) and add it as a comment block to the submitted program. (10 points) Example of output is shown below (Note that results may vary depending on numbers entered) Enter car's speed: 70 Enter time traveled: 3 Speed entered: 70.0 Time entered: 3.0 Distance Traveled 210.0 miles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
