asked 79.7k views
3 votes
Write a function that converts x days to y hours.

1 Answer

5 votes
y = 24x
this is because there are 24 hours in a day, so multiplying the number of days (x) by 24 would give you the number of hours (y)
answered
User Georgepiva
by
8.0k points

No related questions found