xllint
xllint
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
It's very good to know though! Thank you so much for explaining this to me! Me and a classmate didn't know the difference at all so we were confused. lol
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
My instructor said we'll be getting to TryParse later when I shared what we went over here.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Gotcha. So Parse is more of a general while Convert takes it literally.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Yeah
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Edge cases? What do you mean?
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
I'm using Cengage right now, but I plan to use Visual Studio when I code something once I learn it all.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
What's the difference between Parse and Convert, exactly? Because from my understanding, it does the same thing.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Beautiful code by the way. I've been looking at it to understand how it was done and it's very well organized. I'll definitely be trying to format it that way from now on.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Thank you so much! I'll definitely ask if I have anymore questions!
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
I didn't share the whole code, just the snippet that I needed help with. I didn't wanna eat up too much of your time so I only shared what I thought was relevant. I was trying to get the code to not even check for external murals if the months 1, 2, or 12 were entered but I couldn't get it to work that way so my instructor said it was fine the way it was. If the month is anything other than what was typed in the code, then it's supposed to function as normal. I was trying to create parameters as necessary for the code I was trying to do and from my understanding an if statement does that. As a side note, I've never touched computer programming before this semester so I'm learning C# from scratch and I'm still very new, but I understand it if it's explained to me in a more logical and black and white way since my brain thinks about all of this in a mathematical way. I greatly appreciate any and all time that someone here is willing to take out of their day to help me, especially since I know they have their own things going on.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Okay, thank you.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
The second if statement.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
That's what I said. lol What would you recommend I do to fix it?
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
That's what I thought too, but my instructor said it had to have a value assigned.
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
Yeah
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
WriteLine("Enter number of exterior murals scheduled >>");
int exteriorMural=Convert.ToInt32(ReadLine());
if(monthNumber==1||monthNumber==2||monthNumber==12){
WriteLine("Due to uncertain weather conditions, exterior murals cannot be painted at this time");
exteriorMural=0;}
const int EXTCOST=750;
int finalExteriorCost=699;

if(monthNumber==4||monthNumber==5||monthNumber==9||monthNumber==10){
finalExteriorCost=699;
}
WriteLine("Enter number of exterior murals scheduled >>");
int exteriorMural=Convert.ToInt32(ReadLine());
if(monthNumber==1||monthNumber==2||monthNumber==12){
WriteLine("Due to uncertain weather conditions, exterior murals cannot be painted at this time");
exteriorMural=0;}
const int EXTCOST=750;
int finalExteriorCost=699;

if(monthNumber==4||monthNumber==5||monthNumber==9||monthNumber==10){
finalExteriorCost=699;
}
54 replies
CC#
Created by xllint on 3/15/2023 in #help
❔ tutoring
$codegif
54 replies