Code:
#include<stdio.h>
#include<math.h>
int main(void)
{
double Yeild, Heads, Seedhead, Size;
printf("Please give the number of heads per square foot: ");
scanf("%lf", &Heads);
printf("Please input the number of seeds per head: ");
scanf("%lf", &Seedhead);
printf("Please idicate the seed size: ");
scanf("%lf", &Size);
Yeild= 726*Heads*(Seedhead/Size);
printf("The potential grain yeild: $%.2f\n,Yeild");
return 0;
}
Comment