According to the compiler, my variable is being used without being initialized. I've gone over my notes, but I can't seem to determine what the problem is. Any help is appreciated.
Oh, that does make sense. So, how would I be able to declare SideC in the calcSideC function and assign it that number, then bring SideC down to displaySideC?
SideA and SideB got returned successfully, and yet sideC is failing to do so. Why is this?
Sorry if it's a stupid question, I started programming about 2 months ago, and we literally just learned functions today.
There's no mystery to it - you're already doing it for your calcSideC function. You've already figured out how to pass values into a function, and you've already got the calculated value for SideC being passed back to the main function. So...