0
Que: How to calculate money with time?
Is it possible to calculate wages on an hourly basis? For example: if a worker has worked 250.59 hours a month and his salary per hour is 30.30, so is it ok to calculate or will the answer be wrong? If I give an input of 250.60 instead of 261.00 the output will be different obviously. Is there a possible way to do so? Here is an example of my code. https://code.sololearn.com/c28hqhinxk3I/#cpp
1 ответ
0
What do you want actually?
Just simple multiply amount with hours