这个c语言哪儿错了?
#include<stdio.h>voidmain(){floata,b,c,sum;floataverage;a=10;b=20;c=35;sum=a+b+c;aver...
#include <stdio.h>
void main( )
{
float a,b,c, sum;
float average;
a=10; b=20; c=35;
sum=a+b+c;
average==a+b+c/3;
printf("average is %d\n",average);
} 展开
void main( )
{
float a,b,c, sum;
float average;
a=10; b=20; c=35;
sum=a+b+c;
average==a+b+c/3;
printf("average is %d\n",average);
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询