0_0_18875430_4174.cpp: In function 'int main()': 0_0_18875430_4174.cpp:21:9: error: 'else' without a previous 'if' else if(n % 2 == 1) ^