It seems that you wrote all your code in one go and it didn't work.
Everyone makes mistakes left right and centre when typing a program out - The trick is to do a lot of testing as you are writing...
Type: Posts; User: Click_here
It seems that you wrote all your code in one go and it didn't work.
Everyone makes mistakes left right and centre when typing a program out - The trick is to do a lot of testing as you are writing...
Just having a quick glance, I saw this -
printf("Enter inventory type: ");
scanf("%s", word); //removed &
printf("Enter amount: ");
...