i was busy for a week at work with non programming related stuff, and i haven’t gone back to the book for a week.

and it was stuck because i didn’t know i can call float A and b in the function outside the main.

would u be able to call float A and float B on a different function per say? or would you have to declare them locally? since its float A and B are already in the main.

```
// lets say this is the other function
float totalAngle (float angleA, float angleB, float angleC)
{
float total = angleA+angleB+angleC;
return total;
float remainingAngle(float angleA,float angleB)
{
float lastAngle = 180 - (angleA + angleB);
return lastAngle;
}
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);
return 0;
}
```

and also do i have to write float before each angle at the function? I’m pretty sure there is a different way, but I’m not sure.