gracias ya tengo los valores de las variables,pero tengo un problemilla cuando intento poner algunas constantes me tira error este es el code:
#include <stdio.h>
#include <windows.h>
#define CAJAS 4
#define UNIDADES_POR_CAJA 25
#define PRECIO_POR_UNIDAD 100
#define IMPUESTO 1.16
int main()
{
int precio;
precio=(CAJAS * UNIDADES_POR_CAJAS * PRECIO_POR_UNIDAD) * (IMPUESTO);
printf ("El precio total es:%i\n", precio );
system("pause");
return 0 ;
}
pero cuando le pongo a compilar me tira los siguientes errores
In function `int main()':
`UNIDADES_POR_CAJAS' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
viendo q me decia UNIDADES_POR_CAJAS le quite los giones bajos pero me salio esto otro al compilar:
In function `int main()':
`POR' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
expected `)' before "CAJA"
si alguien me puede ayudar es q me resulta dificil de comprender xq hago lo q me dice el manual pero me tira estos errores ,y no se q puede ser

saludos.