#include "convert_time.h" // Converts Seconds to Minutes double converter_sec_to_min(double sec){ double time = sec / 60; return time; } // Converts Minutes to Seconds double converter_min_to_sec(double min){ double time = min * 60; return time; } // Converts Hours to Minutes double converter_hour_to_min(double hour){ double time = hour * 60; return time; } // Converts Minutes To Hours double converter_min_to_hour(double min){ double time = min / 60; return time; } // Converts Hours in Seconds double converter_hour_in_sec(double hour){ double time = hour * 60 * 60; return time; } // Converts Seconds in Hours double converter_sec_in_hour(double sec){ double time = sec / 60 / 60; return time; } // Converts Days in Years double converter_days_to_years(double days){ double time = days / 365; return time; } // convert Years in days double converter_years_to_days(double years){ double amount = years * 365; return amount; }