APLICAR METODO BURBUJA AL SIGUIENTE CODIGO:

JESUS ANTONIO DURAN ACEVEDO
11 de Noviembre del 2010
Hola...me pueden ayudar a ordenar por edades de forma descende
nte los datos ingresados por cada empleado.Les agradezco pues he tratado y no me funciona,...gracias
HASTA AHI EL PROGRAMA CORRE BIEN PERO NECESITO ANEXARLE LA ORDENACION POR EDADES,

#include
#include
#include


int const max=100;
struct FechaNac
{
int dia;
int mes;
int anio;
};

struct Persona
{
char nombre[20];
int edad;
float altura;
float peso;
FechaNac fec;
};

struct PersonaEmpleado
{
Persona persona;
float salario;
long identif;
long codigo;
};
void main()
{int i,N,b,j;
long busq;
clrscr();
//--------------------------------------------------------
gotoxy(45,1);printf("_______________________________");
gotoxy(45,3);printf("Creado Por Jesus Antonio Duran A.");
gotoxy(45,4);printf("_______________________________nn");
//--------------------------------------------------------
PersonaEmpleado Emp[max];
do
{
cout >N;
}while (N>max);
for (i=0;i Emp[i].persona.fec.dia;
cout Emp[i].salario;
cout