Chapter 5 Functions CHALLENGE

I undertand the use of functions but I keep getting an error!
Here is my code:

//
// main.c
// Triangle
//
//
// Copyright © 2015 Big Nerd Ranch. All rights reserved.
//

#include <stdio.h>
#include <stdlib.h>

static float totalAngle = 180.0;

float remainingAngle(float angleA, float angleB) {
float angleLeft = totalAngle - (angleA + angleB);

return angleLeft;

}

int main(int argc, const char * argv[]) {
float angleA = 30.0;
float angleB = 60.0;
float angleC = remainingAgle(angleA, angleB);
printf(“The third angle is %.2f\n”, angleC);

return 0;

}

What am I doing incorrectly? I do not want to continue reading further on until I solve this!

Xcode is warning that it could not see the declaration of the the function [color=#FF0000]remainingAgle[/color] you are calling.

You meant to write remainingAngle but wrote [color=#FF0000]remainingAgle[/color] instead.

Ah!! thanks such a clumsy mistake!!