class myClass { static float a = 0; static float b = 0; static float c = 0; public: static void do(); }; void myClass::do() { a = b+c; }