0_0_18940601_9951.cpp:3:11: error: '::main' must return 'int' void main() ^ 0_0_18940601_9951.cpp: In function 'int main()': 0_0_18940601_9951.cpp:15:10: error: 'i' was not declared in this scope if((a[i]+b[i]>c[i])&&(a[i]-b[i]<c[i])) ^