Diz que meu BLU, YELLOW e RED não foram declarados.
Segue o código.
Com a tabela ANSI tambem náo tive sucesso.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <locale.h>
#include <conio.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
setlocale(LC_ALL, "Portuguese");
float nota1,nota2, media;
printf("Digite suas notas para saber se foi Aprovado ou Reprovado: ");
scanf("%f %f",¬a1, ¬a2);
media = (nota1+nota2)/2;
if (media >=7){
textcolor(blue);
cprintf( "APROVADO " );
}
else if (media <7 && media >3){
textcolor(yellow);
cprintf( "RECUPERAÇÃO ");
}
else
{
textcolor(red);
cprintf( "REPROVADO " ) ;
}
return 0;
}