C

Other C solutions.
#include "resistor_color_trio.h"