Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Python program to compute the total pay for a Uber driver. The driver gets paid an hourly rate plus a percentage of the

Create a Python program to compute the total pay for a Uber driver. The driver gets paid an hourly rate plus a percentage of the miles driven plus any tips. Your program should prompt the user for the following: the number of miles driven for the day, the number of hours worked for the day the amount of tips received for the day. Your program should define (not prompt) for the following: the hourly rate of the driver, the percentage rate for the commission. (the driver gets a percentage of the number of miles driven. eg. 10cents per mile) The drivers daily wage is based on the number of hours worked times his hourly rate. The commission pay is based on the total miles driven times the commission percentage rate. The daily total pay should be computed as the daily wage plus commission pay plus tips. The estimated weekly pay is determined by the daily total times 5. Your program should display output at the end of the program for the following: the daily wage, the commission pay, the tips for the day, the total pay for the day. the estimated total weekly pay

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis In Microsoft Excel

Authors: Alex Holloway

1st Edition

B0CCCPKTTX, 979-8852388452

More Books

Students also viewed these Databases questions

Question

What is a trial balance and what are its purposes?

Answered: 1 week ago

Question

What is your greatest weakness?

Answered: 1 week ago