I was initially confused about this section:
float angleC = remainingAngle(angleA, angleB);
From other examples in the chapter I knew that “remainingAngle” was supposed to be the function, but I couldn’t figure out what to do with “(angleA, angleB);”. Is it necessary to repeat both of those variables in the function so you can use them in the calculation? Does repeating them in the function make them global or just local variables?
Thanks for any insight into this challenge.