subject
Business, 05.03.2020 10:02 Cassandoo

Assume the input data is structured as follows: first there is a non-negative integer specifying the number of employee timesheets to be read in. This is followed by data for each of the employees. The first number for each employee is an integer that specifies their pay per hour in cents. Following this are 5 integers, the number of hours they worked on each of the days of the workweek. Given this data, write a loop and any necessary code that reads the data and stores the total payroll of all employees into the variable total. Note that you will have to add up the numbers worked by each employee and multiply that by that particular employee's pay rate to get the employee's pay for the week-- and sum those values into total.

ansver
Answers: 2

Other questions on the subject: Business

image
Business, 22.06.2019 04:30, csteward2917
Your take on decision making process
Answers: 1
image
Business, 22.06.2019 08:20, XAINEE
Suppose that jim plans to borrow money for an education at texas a& m university. jim will need to borrow $25,000 at the end of each year for the next five years (total=$125,000). jim wishes his parents could pay for his education but they can’t. at least, he qualifies for government loans with a reduced interest rate while he is in school. he has a special arrangement with aggiebank to lend him the money at a subsidized rate of 1% over five years without having to make a payment until the end of the fifth year. however, at the end of the fifth year, jim agrees to pay off the loan by borrowing from longhorn bank. longhorn bank will lend him the money he needs at an annual interest rate of 6%. jim agrees to pay back the longhorn bank with 20 annual payments and the payments will be uniform (equal annual payments including principal and interest). (i) calculate how much money jim has to borrow at the end of 5 years to pay off the loan with aggiebank. a. $121,336 b. $127,525 c. $125,000 d. $102,020 e. none of the above
Answers: 2
image
Business, 22.06.2019 11:50, chas8495
True or flase? a. new technological developments can us adapt to depleting sources of natural resources. b. research and development funds from the government to private industry never pay off for the country as a whole; they only increase the profits of rich corporations. c. in order for fledgling industries in poor nations to thrive, they must receive protection from foreign trade. d. countries with few natural resources will always be poor. e. as long as real gdp (gross domestic product) grows at a slower rate than the population, per capita real gdp increases.
Answers: 2
image
Business, 22.06.2019 12:30, victorialeona81
Provide an example of open-ended credit account that caroline has. caroline blue's credit report worksheet.
Answers: 1
You know the right answer?
Assume the input data is structured as follows: first there is a non-negative integer specifying the...

Questions in other subjects: