0_0_24966881_8875.cpp: In function 'int main()': 0_0_24966881_8875.cpp:31:13: error: 'temp' was not declared in this scope temp=log((double)x/10.1)/log(3.0)-sin((double)x)-(double)x/100.0; ^