+ 2
Write a program that Will read a file of employees worked hours and produce the gross pay for each of the employees.
The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40. The hourly rates are 15 per hour. Each line represents a day (there are five). An each hour represent an employee (there are five) Employee Hours worked 11, 10, 11, 8, 9 9,8,7,8,4 8,8,8,8,8 4,7,6,8,9 7,4,6,8,3
16 Réponses
+ 3
i can do it but can u once explain the question correctly
+ 2
fast plz
+ 2
Is that better?
+ 2
let me try with it.
+ 2
Any answer?
+ 2
yeah i m doing it will take some more time maybe half an hour.
+ 2
Can you give us what you have so far?
+ 2
Time contraint :(
+ 2
i will give surprise plz wait.
+ 2
Anything yet or u had hard time with it?
+ 2
just 5 more minutes
+ 2
one more big problem is left.
+ 2
do u know how to keep 2d array in parameters
+ 2
yeah
+ 2
https://code.sololearn.com/cW4p5i5PiyVN/?ref=app
it is not working i dont why. maybe due to some server problem maybe.
+ 1
but still i think its correct and this code might not work as asked but i have created a framework you can modify it.