编写c语言时出现的问题
我在编译这段代码#include<stdio.h>
void main()
{
float a,b,c,t;
printf("please enter a,b,c:");
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{t=a;a=b;b=t;}
if(a>c)
{t=a;a=c;c=t;}
if(b>c)
{t=b;b=c;c=t;}
printf("%7.2f,%7.2f,%7.2f\n",a,b,c);
}
,我是用Dev-c++编译的,但是显示" { “出现了错误,请各位懂的帮帮忙