Main.cc: In function ‘int main()’: Main.cc:9:5: error: expected ‘,’ or ‘;’ before ‘cout’ cout << c; ^~~~ Main.cc:8:12: warning: unused variable ‘c’ [-Wunused-variable] double c=b/1000 ^