subject

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 thare are 5 integers, the number of hours they worked on each of the days of the workweek. given this data, and given that an int variable total has been declared, write a loop and any necessary code that reads the data and stores the total payroll of all employees in 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. assume the availability of a variable, stdin, that references a scanner object associated with standard input.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:10
Can be categorized as popularity, relevancy, and user satisfaction. select one: a. mobile search seo b. ranking factors c. serp d. web analytics
Answers: 1
question
Computers and Technology, 22.06.2019 05:00
Which two editions of windows 7 support 64 bit cpus? choose two out of professional, business, starter, or home premium.
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
question
Computers and Technology, 24.06.2019 05:00
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
You know the right answer?
Assume the input data is structured as follows: first there is a non-negative integer specifying th...
Questions
question
Mathematics, 15.04.2021 23:10
question
Arts, 15.04.2021 23:10
question
Mathematics, 15.04.2021 23:10
question
Mathematics, 15.04.2021 23:10
question
Biology, 15.04.2021 23:10
Questions on the website: 13722360