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

3rd Apr 2022, 6:40 AM
Komil Dudhwala
Komil Dudhwala - avatar
1 ответ
0
What do you want actually? Just simple multiply amount with hours
3rd Apr 2022, 11:05 AM
A͢J
A͢J - avatar