diff --git a/src/convert_time.c b/src/convert_time.c index 22b705a..76d8279 100644 --- a/src/convert_time.c +++ b/src/convert_time.c @@ -9,3 +9,9 @@ double converter_min_to_sec(double min){ double time = min * 60; return time; } + +double converter_hour_to_min(double hour){ + double time = hour * 60; + return time; +} + diff --git a/src/convert_time.h b/src/convert_time.h index bbadf16..a61eed5 100644 --- a/src/convert_time.h +++ b/src/convert_time.h @@ -3,5 +3,6 @@ double converter_sec_to_min(double sec); double converter_min_to_sec(double min); +double converter_hour_to_min(double hour) #endif //THEADMIRALS_CONVERT_TIME_H