Solved. I forgot to mention I didn't assign af a value. So assigning 0 to it makes the output correct after all the math, thanks.
Type: Posts; User: mwebb
Solved. I forgot to mention I didn't assign af a value. So assigning 0 to it makes the output correct after all the math, thanks.
I am making a program for my Java class. after thinking I have initialized the variable known as af and making some conditions, I get the error that af might not have been initialized. What am I...