0_0_14032674_12070.cpp: In function 'int main()':
0_0_14032674_12070.cpp:23:13: error: expected '}' before 'else'
else if(a[i]==t)
^
0_0_14032674_12070.cpp:27:23: error: 'sum' was not declared in this scope
printf("%d\n",sum);
^
0_0_14032674_12070.cpp: At global scope:
0_0_14032674_12070.cpp:29:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_14032674_12070.cpp:30:1: error: expected declaration before '}' token
}
^
|