0

Anybody wants to help?

Can anybody help at solving my problem? https://code.sololearn.com/cp51sUqAD66P/?ref=app

13th Apr 2020, 8:20 PM
TeaserCode
4 odpowiedzi
0
I see the problem here
13th Apr 2020, 8:25 PM
xpan
xpan - avatar
0
It's with your calculations I'd say if you asked user to input hours, then you are only calculating days in hours
13th Apr 2020, 8:26 PM
xpan
xpan - avatar
0
Just by changing the division sign to multiplication solves the problem
13th Apr 2020, 8:27 PM
xpan
xpan - avatar
0
hours = days * 24;
13th Apr 2020, 8:28 PM
xpan
xpan - avatar