public static float c;
staticクラスの変数はstaticで宣言するとOK