© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
12 replies
virac

Warehouse Assignment

I'm currently working on my warehouse assignment and I'm kinda stuck. The code is supposed to read line for the inventory file and sets each one to its own warehouse. It's printed after its read to show the starting stock of each warehouse All of the files are being read but the transaction part of the code isn't running. The purchase stock and selling stock parts of the code isn't running and I'm not sure what part is keeping it from doing so. I know this because the final shows the same amount of stock as the beginning of the day.
Here is the link to the code and the text files its supposed to interact with.

https://paste.mod.gg/rsqxlodzfnro/0
BlazeBin - rsqxlodzfnro
A tool for sharing your source code with the world!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Assignment
C#CC# / help
2y ago
❔ Assignment
C#CC# / help
3y ago
Assignment Problem
C#CC# / help
12mo ago