Main.cc: In function 'int main()': Main.cc:9:2: error: 'result' was not declared in this scope result = sqrt(x); ^