Need help with assignment
Hi, I’m working on a C# assignment for my course (Designing and Developing Object-Oriented Computer Programs) and I’m honestly a bit lost. I’m still very new to C# and programming in general, so I was hoping to get some guidance on how to approach it.
Here’s what the assignment is about:
Calories Tracker App
Build a simple console app where the user can enter food items they eat along with the calories. The app should keep track of everything entered and show a list of items + total calories. We’re supposed to use basic OOP stuff like classes, objects, and methods.
I haven’t written much code yet because I’m not really sure where to begin, how to structure it, what classes I might need, that kind of thing. Any advice or direction would really help. Thanks a lot in advance!
18 Replies
write down all the pieces the app consists of, then think how they interact with another. thats usually a good starting point
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Yes I know, that's why I asked for guidance instead of asking someone to do it for me
This is exactly what I need, thank you
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Create a "Hello world" console app and post it here
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
@TeBeCo It is when we do not know if they can even do it. Or know what a Console app even is. Stop your snarky reviewing of my comments please!!!!
For your reference
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
you assume something to start with. again just saying.....
omg
With all due respect i just asked for a guidance and didn't ask anyone to do my work
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Yess I will, one second plz
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Nono I totally understand that.. Thank you for your support, it's just Idk why glhay said something like this....when I clear wrote what i needed
so I have this C# assignment where I need to make a console app that tracks calories. Basically, it’s like the user can enter foods they ate (with calories) or exercises they did (and how many calories they burned)....I’m supposed to use object oriented programming like making classes for food and exercise. Maybe even a user class too, with their name and calorie goal. In the program, it should ask the user for their name and how many calories they want to stick to. Then there’s supposed to be a menu where they can add food, add exercise, or view a summary of their total calories. I need to use stuff like loops, if statements, lists or arrays to store the data, and also make sure I’m using properties and methods in the classes. I’m trying to keep it basic and beginner friendly, not too polished, just enough so I can explain it in class without it looking too professional
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
@Sol @TeBeCo please do not take out of context a response to a response directed at me
This is not help full
Your post for help read to me as you did not know where to begin so I offered advice to create a simple Hello world in a console app. It wasn't meant to be degrading to anyone or to supercede someone elses advice.Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!