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