纯新手 求教···
#include <stdio.h>#include <math.h>
main()
{
double a,b,c,s,area;
printf("please insert three numbers:\n");
scanf("%lf%lf%lf\n",&a,&b,&c);
if(a+b>c && a+c>b && b+c>a)
{
s=(a+b+c)\2;
area=sqrt(s*(s-a)*(s-b)*(s-c));
printf("area=%lf\n",area);
}
else
printf("三边不能组成一个三角形\n");
return(0);
}
错误提示:error C2017: illegal escape sequence
error C2143: syntax error : missing ';' before 'constant'
应该怎么改···