#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 min = hour * 60; return min; } // Converts Minutes To Hours double converter_min_to_hour(double min){ double hours = min / 60; return hours; } // Converts Hours in Seconds double converter_hour_in_sec(double hour){ double secs = hour * 60 * 60; return secs; } // Converts Seconds in Hours double converter_sec_in_hour(double sec){ double hours = sec / 60 / 60; return hours; } // Converts Days in Years double converter_days_to_years(double days){ double years = days / 365; return years; } // convert Years in days double converter_years_to_days(double years){ double amount = years * 365; return amount; }