#include #include #include #include #ifndef __CLASS_STUDENT_INCLUDED__ #define __CLASS_STUDENT_INCLUDED__ class ResistorColour { double resistance; std::string GetColouredBlock(int c); std::string GetDigit(int digit); std::string GetExponent(int exponent); public: ResistorColour(double r); void PaintCode(); }; #endif