[C con Clase] necesito corregir este programa en dev c++

Jose hernandez jose_man.17 en hotmail.com
Mie Jun 9 19:17:58 CEST 2010


hola pues la verdad este programa no quiere ejecutar no quiere compilar me vota error que dice '' diciembre undeclared (first use the function) necesito que este programa este funcionando al 100%. gracias de antemano.

Elabore un programa para contestar las siguientes preguntas:
a)Cuál fue el total de ventas en el año de la agencia Lomas?
b)Cuál fue el promedio de ventas en el mes de diciembre?
c)Qué agencia tuvo mayores ventas en el mes de mayo?
d)En qué mes se registraron las menores ventas del año, considerando todas las agencias?



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

main()
{
printf(":::::::::::::::\n:::::::::::::::… DE VENTAS!!!\n:::::::::::::::::::::'''''''\… 
printf("\n______________________________…
void llenar(long ventas [12][5]);
void anual(long ventas [12][5]);
long ventas [12][5];
llenar(ventas);
anual(ventas);
diciembre(ventas);
mayo(ventas);
menor(ventas);

getch()
}

void llenar(long ventas [12][5])
{
int i,j;
for (i=0;i<12;i++)
{
for (j=0;j<5;j++)
{
printf("DIGITE LA GANANCIA DEL MES %d DE LA AGENCIA %d:\t",i,j);
scanf("%ld",& ventas[i][j]);
}
}
}

void anual(long ventas [12][5]);
{
long i,j,acu;
for (i=0;i<12;i++)
{
for (j=0;j<5;j++)
{
acu=ventas[i][j]; 
}
}
printf("EL TOTAL DE VENTAS ANUALES FUE:\t%d",acu);
}

void diciembre(long ventas [12][5]);
{
long j,acu=0;
{
for (j=0;j<5;j++)
{
acu=ventas[12][j]+acu; 
}
}
printf("EL PROMEDIO DE VENTAS EN DICIEMBRE FUE:\t%d",acu);
}

void mayo(long ventas [12][5]);
{
long j,a,b,c,d,e;
{
a=ventas[5][0]+acu;
b=ventas[5][1]+acu;
c=ventas[5][2]+acu;
d=ventas[5][3]+acu;
e=ventas[5][4]+acu; 
if (a>b)&&(a>c)&&(a>d)&&(a>e)
{
printf("\nEL MAYO VENDEDOR EN MAYO FUE LA AGENCIA1 CON:\t%d",a);
}
else
{
if (a<b)&&(a>c)&&(a>d)&&(a>e)
{
printf("\nEL MAYO VENDEDOR EN MAYO FUE LA AGENCIA2 CON:\t%d",b);
}
else
if (a<c)&&(a>b)&&(a>d)&&(a>e)
{
printf("\nEL MAYO VENDEDOR EN MAYO FUE LA AGENCIA3 CON:\t%d",c);
}
else
if (a<d)&&(a>b)&&(a>c)&&(a>e)
{
printf("\nEL MAYO VENDEDOR EN MAYO FUE LA AGENCIA4 CON:\t%d",d);
}
else
if (a<e)&&(a>d)&&(a>b)&&(a>c)
{
printf("\nEL MAYO VENDEDOR EN MAYO FUE LA AGENCIA5 CON:\t%d",e);
}
}
}


Más información sobre la lista de distribución Cconclase