Purchase Solution

Using UNIX for a Payroll

Not what you're looking for?

Ask Custom Question

Develop and run a shell script to input number of hours worked and pay rate and calculate the total pay, then the social security amount (assume 5%), then the net pay. Do this as a loop until the number of hours worked is zero.

Purchase this Solution

Solution Summary

A UNIX shell script is used to develop the hours worked and pay rate to calculate the total pay for employees.

Solution Preview

The following script inputs hours worked and pay rate to calculate grossPay. It calculates the social security amount by multiplying the social security rate 5% with the grossPay. Next it deducts this social security amount from the grossPay to calculate the net pay amount. Please remember that bash variables cannot ...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Excel Introductory Quiz

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

C++ Operators

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

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.