subject

Write a c++ program to read from each line of the input file an employee identification number (in integer), the hours worked, and the number of dependents. each employee is paid $10.50 per hour for regular hours and $15.25 per hour for overtime hours. from the worker's gross pay, 8% is withheld for social security tax, 15% is withheld for federal income tax, and 7% is withheld for state income tax. if the worker has four or more dependents, then an additional $35 is withheld to cover the extra cost of medical insurance.
requirements:
1. use setw and setprecision as well as oisflags
2. use a sentinel- controlled while loop.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:10
3. (5 points) describe what would be printed by the code below or what error would occur. const char* cstr = "0123456"; const char* ptr = & cstr[4]; cout < < ptr[-1] < < ptr < < endl; 1 4. (5 points) theseus has been trapped in a maze with a minotaur, which is trying to capture him. each round, theseus and the minotaur move through the maze; theseus towards the exit, and the minotaur towards theseus. theseus can move in any of the four cardinal directions, or he can wait for a round to see how the minotaur moves. write code that creates a data type to represent the possible moves that theseus could make.
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
You know the right answer?
Write a c++ program to read from each line of the input file an employee identification number (in i...
Questions
question
Chemistry, 08.02.2021 20:10
question
Mathematics, 08.02.2021 20:10
question
Mathematics, 08.02.2021 20:10
question
History, 08.02.2021 20:10
question
English, 08.02.2021 20:10
question
Mathematics, 08.02.2021 20:10
Questions on the website: 13722363