Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- Write a program, which accepts name and number of hours worked per week of an employee and computes weekly salary of the employee. The

image text in transcribed

- Write a program, which accepts name and number of hours worked per week of an employee and computes weekly salary of the employee. The program, also, calculates income tax (15%) and net wage of the employee. The rate per hour over 40 is one and half times the normal rate ($10/ hour ). The program will display the highest and lowest salary holder's record. Your program will produce an output file named salaryEmp.txt. - read data compute salary, show result. - read data will accept name and hours worked - compute salary computes weekly salary, income tax paid, and net wage: - show result will display name, hours, salary, tax paid, and net wage of the employee in a table. - The program will use a data file as shown below: - Sample output of the program is: Ronnie Zamora is holding the largest salary of 40375 Rudy Miller is holding the lowest salary of 127.50 Press any key to continue

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books