exercism/c/space-age/space_age.h

20 lines
237 B
C
Raw Normal View History

2024-08-14 15:57:14 -04:00
#ifndef SPACE_AGE_H
#define SPACE_AGE_H
#include <stdint.h>
typedef enum planet {
MERCURY,
VENUS,
EARTH,
MARS,
JUPITER,
SATURN,
URANUS,
NEPTUNE,
} planet_t;
float age(planet_t planet, int64_t seconds);
#endif