1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef SPACE_AGE_H #define SPACE_AGE_H #include <stdint.h> typedef enum { MERCURY, VENUS, EARTH, MARS, JUPITER, SATURN, URANUS, NEPTUNE, } planet_t; float age(planet_t planet, int64_t seconds); #endif