0_0_25709884_7958.cpp: In function 'int main()': 0_0_25709884_7958.cpp:9:3: error: expected ';' before 'else' else if(n%(p+q)<=p) ^