Browse Source

refactoring: realigned code and removed multiple comments

remotes/origin/develop
Eric Bagus 11 months ago
parent
commit
2330458d3d
  1. 12
      src/convert_kg_to_ton.h

12
src/convert_kg_to_ton.h

@ -1,19 +1,7 @@
#ifndef THEADMIRALS_CONVERT_KG_TO_TON_H #ifndef THEADMIRALS_CONVERT_KG_TO_TON_H
#define THEADMIRALS_CONVERT_KG_TO_TON_H #define THEADMIRALS_CONVERT_KG_TO_TON_H
// Convert kilograms to tons // Convert kilograms to tons
// Parameters:
// kilograms: weight in kilograms
// Returns:
// The equivalent weight in tons
double kg_to_tons(double kilograms); double kg_to_tons(double kilograms);
#endif //THEADMIRALS_CONVERT_KG_TO_TON_H #endif //THEADMIRALS_CONVERT_KG_TO_TON_H
Loading…
Cancel
Save