Main.cc: In function 'int main()': Main.cc:9:19: error: 'a' was not declared in this scope printf("%.2f",a); ^