Main.cc: In function ‘int main()’: Main.cc:13:7: error: expected primary-expression before ‘}’ token } ^ Main.cc:16:14: error: continue statement not within a loop continue; ^~~~~~~~ Main.cc:17:17: error: ‘else’ without a previous ‘if’ } else y=(b/a)*100; ^~~~ Main.cc:18:25: error: ‘i’ was not declared in this scope if((y-x)>5)ans[i]=1; ^ Main.cc:19:12: error: expected ‘;’ before ‘else’ 20 else if((x-y)>5)ans[i]=-1; ^~~~ Main.cc:19:37: warning: statement has no effect [-Wunused-value] 20 else if((x-y)>5)ans[i]=-1; ^ Main.cc:20:12: error: expected ‘;’ before ‘else’ 21 else ans[i]=0; ^~~~ Main.cc:20:25: warning: statement has no effect [-Wunused-value] 21 else ans[i]=0; ^ Main.cc:22:5: error: expected ‘;’ before ‘for’ for(int i=2;i<=n;i++) ^~~ Main.cc:22:16: warning: statement has no effect [-Wunused-value] for(int i=2;i<=n;i++) ^ Main.cc:22:17: error: ‘i’ was not declared in this scope for(int i=2;i<=n;i++) ^