Main.cc: In function 'int main()': Main.cc:19:2: error: expected ';' before 'printf' printf("%.2f",pinjun); ^