diff --git a/src/convert_time.c b/src/convert_time.c new file mode 100644 index 0000000..e684f66 --- /dev/null +++ b/src/convert_time.c @@ -0,0 +1,6 @@ +#include "convert_time.h" + +double converter_min_to_sec(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 new file mode 100644 index 0000000..6ac0124 --- /dev/null +++ b/src/convert_time.h @@ -0,0 +1,6 @@ +#ifndef THEADMIRALS_CONVERT_TIME_H +#define THEADMIRALS_CONVERT_TIME_H + +double converter_min_to_sec(double min); + +#endif //THEADMIRALS_CONVERT_TIME_H