1.Create acomment blockwith the following information: Your Name Course Name, Section (example: ENTD200 B002 Spr18) Instructor name Week # Date completed 2.Problem 1:Create a Python program to solve a...


1.Create acomment blockwith the following information:


Your Name


Course Name, Section (example: ENTD200 B002 Spr18)


Instructor name


Week #


Date completed



2.Problem 1:Create a Python program to solve a simple payroll calculation. Calculatethe amount of pay, givenhours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.)Display hourly rate, hours worked, and pay.


Problem 2:Create a Python program tocalculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Display gas used, miles driven and MPG. Useyour own values to test the. You can hard code the values or you can use the input() function. See lesson 3 for sample code.

Sep 01, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here