#include<stdio.h>
int main()
{
float i,j,k,add,average;
printf("Enter three number:\n");
scanf("%f%f%f",&i,&j,&k);
add=i+j+k;
average=add/3;
printf("average=%f\n",average);
return 0;
}
int main()
{
float i,j,k,add,average;
printf("Enter three number:\n");
scanf("%f%f%f",&i,&j,&k);
add=i+j+k;
average=add/3;
printf("average=%f\n",average);
return 0;
}
0 comments:
Post a Comment