❔ Assignment due in a few hours. Need help ASAP

Okay, so I'm a first year college student in Info Tech and we are introduced to C# recently. This is the assignment that I gotta do by today and I HAVE NO IDEA how to start it. I tried searching these but the stuff that showed up are too advanced, and I can't really submit those cuz it'll be too obvious that I didn't do anything regarding it..
18 Replies
Patrick
Patrick2y ago
The title is unhelpful.
QuiteZestyy
QuiteZestyy2y ago
Sorry, i dont use forums a lot
Thinker
Thinker2y ago
Step 1: do you know how to read user input and parse strings into integers?
QuiteZestyy
QuiteZestyy2y ago
Yyy...yes. We covered read user input but i dont understand the parse strings thing I can show you the files and lessons given to us for context if you'd like but there are too many
Patrick
Patrick2y ago
guess you're out of luck then! this sounds like you want someone here to do your assignment for you - cramming what you need to know before it's due is not going to get you anywhere, so the only alternative you could possibly be looking for here is for someone to do it for you
QuiteZestyy
QuiteZestyy2y ago
I want to understand it as well, so I can work on it in the future on my own
Patrick
Patrick2y ago
it's due today, why would you work on it in future
QuiteZestyy
QuiteZestyy2y ago
No it's fine, I told my teacher I will submit late
Patrick
Patrick2y ago
Send code for what you've tried?
QuiteZestyy
QuiteZestyy2y ago
The thing is- one of my classmates already posted the answers. I don't want to just copy paste that because I don't understand it I want to try working on it from the start
Thinker
Thinker2y ago
The best you can do is try understand the code in that case
QuiteZestyy
QuiteZestyy2y ago
oh man I have no idea how but I'll try. i'll get back here with progress if I make any I guess
Thinker
Thinker2y ago
Also, without being too spoonfeed-y, try investigating what int.Parse does.
Dusty
Dusty2y ago
Maybe start from the bottom up, 3 and 2 are way easier Actually 2. So for 2. you could to the following:
bool x = true;
bool y = false;

bool andOperation = x && y; // x and y need to be true, but y is false which means "andOperation" evaluates to false

Console.WriteLine($"&& Operator: {andOperation}");
bool x = true;
bool y = false;

bool andOperation = x && y; // x and y need to be true, but y is false which means "andOperation" evaluates to false

Console.WriteLine($"&& Operator: {andOperation}");
And the same for the other operations, I hope u get the idea @QuiteZestyy in case u still have time
QuiteZestyy
QuiteZestyy2y ago
I did it similar to this actually Thanks tho :D
Dusty
Dusty2y ago
So you got it done or still need help?
QuiteZestyy
QuiteZestyy2y ago
I finished it 2 hrs ago ish. So im ok for now, thank you
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts