Purchase Solution

Python Program

Not what you're looking for?

Ask Custom Question

Write 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.

Purchase this Solution

Solution Summary

This posting contains the solution to the given problems.

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.