Create a python program prompt the user


Discuss the below:

Q: Create a Python program that would prompt the user for the number of employees to be entered, and then prompt for employee name, followed by wage, followed by hours worked.

It would then calculate the gross earnings of each employee (if they worked over forty hours it would determine gross pay including overtime at 1.5 times wage, else it would determine gross pay based on normal wage and hours below forty).

The data would be output to a table with the employee name, wage, hours, overtime hours, and gross pay.

 

Solution Preview :

Prepared by a verified Expert
Python Programming: Create a python program prompt the user
Reference No:- TGS01938103

Now Priced at $25 (50% Discount)

Recommended (91%)

Rated (4.3/5)