exercism/c/resistor-color-duo/resistor_color_duo.h

22 lines
234 B
C
Raw Permalink Normal View History

2024-08-13 15:20:31 -04:00
#ifndef RESISTOR_COLOR_DUO_H
#define RESISTOR_COLOR_DUO_H
typedef enum {
BLACK,
BROWN,
RED,
ORANGE,
YELLOW,
GREEN,
BLUE,
VIOLET,
GREY,
WHITE
} resistor_band_t;
int color_code(resistor_band_t colors[]);
#endif