0_0_32619040_24246.cpp: In function 'int main()': 0_0_32619040_24246.cpp:30:3: error: expected ';' before 'while' while(gray>0) ^