I decided to extend the challenge by adding if then else to add an output but it is not working.

What am I doing wrong?[code]//

// main.c

// Triangle

//

// Created by Wendy Meyeroff on 5/2/14.

// Copyright © 2014 Big Nerd Ranch. All rights reserved.

//

#include <stdio.h>

static int totalValue = 180;

int main(int argc, const char * argv[])

{

float angleA = 20;

float angleB = 60;

float angleC = totalValue - (angleA + angleB);

printf(“The third angle of the triangle is %.0f.\n”, angleC);

```
if (angelA = 90);
{
printf("The triangle is a Right Triangle");
}
else if (angleC = 90);
{
printf("The triangle is a Right Triangle");
}
else if (angleB = 90);
printf("The triangle is a Right Triangle");
return 0;
```

}

[/code]

What i want to do is print “the triangle is a right triangle” if one of the angles is 90.