subject
Computers and Technology, 21.12.2019 06:31 ehhshsh

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, 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: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What is linux? an open source operating system a version of ms dos the first version of unix the newest technology available
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
You know the right answer?
Assume the input data is structured as follows: first there is a non-negative integer specifying th...
Questions
question
Biology, 08.10.2020 08:01
question
Social Studies, 08.10.2020 08:01
question
Mathematics, 08.10.2020 08:01
question
Chemistry, 08.10.2020 08:01
question
Mathematics, 08.10.2020 08:01
Questions on the website: 13722367