不知错在哪里
#include<stdio.h>void main()
{int num1,num2,num3;
float average;
printf("Please input three numbers:");
scanf("%d,%d,%d",&num1,&num2,&num3);
average=(num1+num2+num3)/3.0;
printf("average=%7.2\n",average);
}
输出的是“average=” ,具体等于多少就不知道了,为什么呢?