Code C Include Include Include Include Define Lowinv 2000 Define Growsize 50 Must Code Pro Q37111420

CODE IN C

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

#include <float.h>

#define LOW_INV 2000

#define GROW_SIZE 50

/*

you must code a Product struct, ProductArray

struct and functions to manage and process Product data.

The Product struct date is:

• String id (5 chars)

• String description (50 chars)

• Double price

• Integer quantity

The id is the unique ID for a Product, the description is

the name of the product, price is the cost of the Productand

quantity is the number in stock. The ProductArray struct is:

• Product array

• Integer length

• Integer count

The array is a pointer to an array of Product, the length is

the pre-allocated length and count is the number of Products

inserted into

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.