Browse Source

convert M in KM

remotes/origin/develop
Leon Wolf 11 months ago
parent
commit
bfa3738c16
  1. 7
      src/convert_M_in_KM.c
  2. 7
      src/convert_M_in_KM.h

7
src/convert_M_in_KM.c

@ -0,0 +1,7 @@
#include "convert_M_in_KM.h"
#include <stdio.h>
double meter_to_kilometer(double meter) {
return meter / 1000.0;
}

7
src/convert_M_in_KM.h

@ -0,0 +1,7 @@
#ifndef THEADMIRALS_CONVERT_M_IN_KM_H
#define THEADMIRALS_CONVERT_M_IN_KM_H
double meter_to_kilometer(double meter);
#endif //THEADMIRALS_CONVERT_M_IN_KM_H
Loading…
Cancel
Save