0_0_25848650_23168.cpp: In function 'int main()': 0_0_25848650_23168.cpp:132:34: error: 'x2' was not declared in this scope scanf("%lf %lf %lf",&x1,&x2,&R); ^