I am brand new in programming since one month, and after having tried two other books for real beginners, I am currently trying the Big Nerd Ranch Books.
Why, when we produce the following code, it works without having to “float” the angles A and B?
I see it works, but why do we have to “float” certain variables and other not?
float remainingAngle(angleA, angleB)
float angleC = 180.0-(angleA + angleB);
} // then, you know the rest, it’s the content of the challenge already written[/code]