Main.cc: In function ‘int main()’: Main.cc:7:21: error: expected primary-expression before ‘%’ token scanf("%lf %lf",%d,%h); ^ Main.cc:7:24: error: expected primary-expression before ‘%’ token scanf("%lf %lf",%d,%h); ^