Browse Source

add converter kph to mps

remotes/origin/develop
Jonas Zitzmann 11 months ago
parent
commit
df6e7fe12d
  1. 6
      src/convert_kph_to_mps.c
  2. 6
      src/convert_kph_to_mps.h

6
src/convert_kph_to_mps.c

@ -0,0 +1,6 @@
#include "convert_kph_to_mps.h"
double converter_kph_to_mps(double kph){
double speed = kph / 3.6;
return speed;
}

6
src/convert_kph_to_mps.h

@ -0,0 +1,6 @@
#ifndef THEADMIRALS_CONVERT_KPH_TO_MPS_H
#define THEADMIRALS_CONVERT_KPH_TO_MPS_H
double converter_kph_to_mps(double kph);
#endif //THEADMIRALS_CONVERT_KPH_TO_MPS_H
Loading…
Cancel
Save