0_0_36909116_14122.cpp: In function 'int main()': 0_0_36909116_14122.cpp:18:28: error: 'yo' was not declared in this scope cin >> x0 >> x1 >> yo >> y1 >> y2 ; ^