Question: Write a C program that: - defines a new structure named 'date' formatted as dd/mm (i.e., a date defined as 10/01) - defines a new

 Write a C program that: - defines a new structure named'date' formatted as dd/mm (i.e., a date defined as 10/01) - defines

Write a C program that: - defines a new structure named 'date' formatted as dd/mm (i.e., a date defined as 10/01) - defines a new structure named 'product which contains three members as follows: Structure member Date type Description char array (max. 20 characters) the name of a product pname (can be more than one word) (a kind of fruit) the quantity of this kind qty unsigned of fruit in kilograms mfg structure date the manufacturing date defines a function to read a list of fruits with their basic information defines a function to print all fruits with the manufacturing date is between a start date and an end date - creates a main program with a list of 5 fruits to test Product name: Lemon Quantity in kgs: 10 Manufactured date: 24/09 Product name: Banana Quantity in kgs: 14 Manufactured date: 07/10 Product name: Avocado Quantity in kgs: 12 Manufactured date: 26/10 Product name: Jackfruit Quantity in kgs: 9 Manufactured date: 08/11 Product name: Custard Apple Quantity in kgs : 7 Manufactured date: 31/10 Enter a start date: 01/10 Enter an end date: 31/10 Product: Banana Quantity: 14 (kgs) Manufactured date: 07/10 Product: Avocado Quantity: 12 (kgs) Manufactured date: 26/10 Product: Custard Apple Quantity: 7 (kgs) Manufactured date: 31/10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!