Browse Source

Commit convert CM in M

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

7
src/convert_CM_in_M.c

@ -0,0 +1,7 @@
#include "convert_CM_in_M.h"
#include <stdio.h>
float cm_to_meter(float cm) {
return cm / 100.0;
}

7
src/convert_CM_in_M.h

@ -0,0 +1,7 @@
#ifndef THEADMIRALS_CONVERT_CM_IN_M_H
#define THEADMIRALS_CONVERT_CM_IN_M_H
float cm_to_meter(float cm);
#endif //THEADMIRALS_CONVERT_CM_IN_M_H
Loading…
Cancel
Save