This was my solution to the challenge and it worked fine. But I later noticed i left float out of the highlighted line. It did not effect the outcome though. Can it be left out here or will it cause some problem I am not seeing?
[color=#0040FF]float remainingAngle(angleA, angleB)[/color]
float answer = 180 - (angleA + angleB);
int main (int argc, const char * argv)
float angleA = 30.0;
float angleB = 60.0;
float angleC = remainingAngle(angleA, angleB);
printf(“The third angle is %.2f\n”, angleC);