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

Another question on Business

question
Business, 22.06.2019 11:10
Use the following account numbers and corresponding account titles to answer the following question. account no. account title (1) cash (2) merchandise inventory (3) cost of goods sold (4) transportation-out (5) dividends (6) common stock (7) selling expense (8) loss on the sale of land (9) sales which accounts would appear on the income statement?
Answers: 3
question
Business, 22.06.2019 15:00
Which of the following characteristics are emphasized in the accounting for state and local government entities? i. revenues should be matched with expenditures to measure success or failure of the government entity. ii. there is an emphasis on expendability of resources to accomplish objectives. a. i only b. ii only c. i and ii d. neither i nor ii
Answers: 2
question
Business, 22.06.2019 15:00
(a) what do you think will happen if the price of non-gm crops continues to rise? why? (b) what will happen if the price of non-gm food drops? why?
Answers: 2
question
Business, 22.06.2019 20:10
While cell phones with holographic keyboards are currently in the introduction stage of the industry life cycle, tablet computers are in the growth stage. in the context of this scenario, which of the following statements is true? a. the industry for cell phones with holographic keyboards will face greater competition than the tablet industry. b. while the industry for cell phones with holographic keyboards will focus more on product innovation, the tablet industry will focus more on process innovation. c. while the industry for cell phones with holographic keyboards can reap the benefits of economies of scale, the tablet industry will experience no such benefits. d. the industry for cell phones with holographic keyboards will face price competition, whereas, in the tablet industry, the mode of competition will be non-price.
Answers: 2
You know the right answer?
Assume the input data is structured as follows: first there is a non-negative integer specifying the...
Questions
question
Mathematics, 09.10.2020 23:01
question
Mathematics, 09.10.2020 23:01
Questions on the website: 13722367