这段程序代码哪里有错
#include<stdio.h>int main()
{
int a;
a=scanf();
int b;
b=scanf();
int c;
c=scanf();
if(a+b>c;b+c>a;c+a>b;)
{
printf("yes");
}
else
{
exit(0);
}
return 0;
}
#include<stdio.h> #include <stdlib.h> int main() { int a; a=scanf("%d",a ); int b; b=scanf("%d",b); int c; c=scanf("%d",c); if(a+b>c&&b+c>a&&c+a>b) printf("yes"); else exit(0); return 0; }