Hi! First, I am SO sorry for my long names, I've been overly descriptive in this assignment because I'm still pretty new, and this has a lot going on.
The problem is this: I need my "calculate" button to calculate my equations, then highlight the label with the smaller total. I used the same variable name twice, as I need it twice, but it seems like I told it 1+1=2, then told it 1+1=4, so I understand
WHY I have the error. I just don't know how to fix it. I tried brackets {} but it still gives the error because it's still part of the parent scope, and if I move one out of it, the button won't do both things.
The part that is wrong specifically is this:
//HIGHLIGHTING highlight lesser cost in green
int calc1YearGasCar1 = Convert.ToInt32(label5YearTotalCostAnswerCar1.Text); Go to the complete details ...