Main.cc: In function 'int main()':
Main.cc:7:25: error: expected ')' before ';' token
printf("%d",a*((b-a)+1);
^
Main.cc:6:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^