diff --git a/src/convert_time.c b/src/convert_time.c index 76d8279..36b9599 100644 --- a/src/convert_time.c +++ b/src/convert_time.c @@ -15,3 +15,7 @@ double converter_hour_to_min(double hour){ return time; } +double converter_min_to_hour(double min){ + double time = min / 60; + return time; +} \ No newline at end of file diff --git a/src/convert_time.h b/src/convert_time.h index b27c0f3..e48117f 100644 --- a/src/convert_time.h +++ b/src/convert_time.h @@ -4,5 +4,6 @@ double converter_sec_to_min(double sec); double converter_min_to_sec(double min); double converter_hour_to_min(double hour); +double converter_min_to_hour(double min); #endif //THEADMIRALS_CONVERT_TIME_H