Answered step by step
Verified Expert Solution
Question
1 Approved Answer
help me write a C++ code please - Write a program, which accepts name and number of hours worked per week of an employee and
help me write a C++ code please
- 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 continueStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started