0_0_25072188_24560.cpp: In function 'int main()': 0_0_25072188_24560.cpp:68:41: error: 'z' was not declared in this scope scanf("%d%d%d",&x[i],&y[i],&z[i]); ^