Browse Source

refactoring: wrong commit notice, right notice: added ton to kg converter

remotes/origin/develop
Sandro Welte 11 months ago
parent
commit
b38beebfa1
  1. 1
      src/convert_ton_to_kg.c
  2. 1
      src/convert_ton_to_kg.h

1
src/convert_ton_to_kg.c

@ -2,7 +2,6 @@
#include "convert_ton_to_kg.h"
double tons_to_kg(double tons) {
return tons * 1000.0; // 1 ton = 1000 kilograms
}

1
src/convert_ton_to_kg.h

@ -4,7 +4,6 @@
#define THEADMIRALS_CONVERT_TON_TO_KG_H
double tons_to_kg(double tons);

Loading…
Cancel
Save