Main.cc:1:1: error: 'include' does not name a type include // cin\cout\endl ^ Main.cc: In function 'int main()': Main.cc:6:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&a,&b); ^