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