# include typedef struct{ double Price; double Lbs; char Name[20]; double TotalPrice; } Veggie; void main(void){ Veggie v1; printf("enter name of vegetable: "); scanf("%s",v1.Name); printf("enter price of vegetable: "); scanf("%lf", & (v1.Price) ); printf("Enter pounds: "); scanf("%lf",& (v1.Lbs) ); v1.TotalPrice = v1.Lbs * v1.Price; printf("%f lbs of %s, cost %f\n",v1.Lbs,v1.Name,v1.TotalPrice); }