Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

i really need someone\'s help to help me finish this assignment, i have started

ID: 3534356 • Letter: I

Question

i really need someone's help to help me finish this assignment, i have started but i dont know how to fix my errors and how to finish this program: here is my code:


#include <stdio.h>

#include <string.h>

#include <stdlib.h>

#include <ctype.h>

#define MAX 20 // no item has more than 20 characters in their name

#define Products "Products.dat"

#define Avaliable

#define SoldOut

#define Avaliable



typedef struct LacrosseWorld

{

int productid;

int quantityinstock;

double cost;

char heads[5];

char cleats[10];

double product;

int idnumber;

} sample;


int main()

{

int size;

size = 5;

sample list[size]={5,10,22,33.96, 71.87};




}


int mainScreen()

{

printf("Hello and welcome ");

printf("This program helps you create an inventory for LacrosseWorld ");

printf("To help you 5 heads have been entered in the system");

printf("Please select from the options below: ");

return 0;

}


void Add(int sample list[], int*filled);

{





}

this is the outline

The assignment is to write a menu driven program that manages a small business inventory, collection or list. You pick the topic!!! The focus of your program is up to you.

The Menu commands must include:

    A....Add a new entry

    D....Delete an item from the list (inventory)

    P....Display all records (on the screen/monitor)

    S....Create a current report (save it to a file)

    C....Clear all records

    Q...Quit

You must add (1) additional menu option that you choose. It may be a menu option that allows the inventory to be modified. i.e. add inventory quantities, change price/cost, change dates, etc.

Explanation / Answer

#include <stdio.h>

#include <string.h>

#include <stdlib.h>

#include <ctype.h>

#define MAX 20 // no item has more than 20 characters in their name

#define Products "Products.dat"

#define Avaliable

#define SoldOut

#define Avaliable



typedef struct LacrosseWorld

{

int productid;

int quantityinstock;

double cost;

char heads[5];

char cleats[10];

double product;

int idnumber;

} sample;


int main()

{

int size;

size = 5;

sample list[6]

sample list[size]={5,10,22,33.96, 71.87};




}


int mainScreen()

{

printf("Hello and welcome ");

printf("This program helps you create an inventory for LacrosseWorld ");

printf("To help you 5 heads have been entered in the system");

printf("Please select from the options below: ");

return 0;

}


void Add(int sample list[], int*filled);

{





}