0_0_31195857_9101.cpp: In function 'int main()': 0_0_31195857_9101.cpp:20:15: error: return-statement with no value, in function returning 'int' [-fpermissive] if(n==0) return ; ^