@ -0,0 +1,8 @@
#include "convert_ton_to_kg.h"
double tons_to_kg(double tons) {
return tons * 1000.0; // 1 ton = 1000 kilograms
}
@ -0,0 +1,12 @@
#ifndef THEADMIRALS_CONVERT_TON_TO_KG_H
#define THEADMIRALS_CONVERT_TON_TO_KG_H
double tons_to_kg(double tons);
#endif //THEADMIRALS_CONVERT_TON_TO_KG_H