Getting an error for an undefined variable
Hello, I'm a CS major working on a project so I'm still pretty new. I'm getting a CS0165 error on line 85 of this program I'm working on. Wouldn't the variable already defined after I've done all of the previous equations above it? The weird part is that it's not showing as an error for the rest of my code, just this one specific line and I'm not sure why. I've attached a picture as well as a BlazeBin link.
https://paste.mod.gg/trcpyfqktemo/0
https://paste.mod.gg/trcpyfqktemo/0

A tool for sharing your source code with the world!