0_0_29785409_20469.cpp:5:10: error: 'n' was not declared in this scope int fun(n) ^ 0_0_29785409_20469.cpp:6:1: error: expected ',' or ';' before '{' token {int i,sum=0,j; ^