#include using namespace std; struct Persona{ int legajo; long doc; char ape[30],nom[30]; }; void menu(int &opcion); void cargarDatos(Persona x[],int &cant); void verTodos(Persona x[],int cant); void mostrarEmpleado(Persona x[],int cant,int leg); int main(){ Persona empleados[10]; int op,cont=0,legajo; do{ menu(op); switch (op){ case 1: if (cont<10) cargarDatos(empleados,cont); else cout<<"Sin espacio"<=1) { cout<<"Ingrese el legajo del empleado a buscar: "; cin>>legajo; mostrarEmpleado(empleados,cont,legajo); } break; case 3: verTodos(empleados,cont);break; case 4: cout<<"Find del programa"<>opcion; }while (opcion<1 || opcion>4); } void cargarDatos(Persona x[],int &cant){ cant++; cout<<"CARGA DE DATOS"<>x[cant-1].legajo; cout<<"Ingrese nro de documento "; cin>>x[cant-1].doc; cin.ignore(); cout<<"Ingrese apellido "; cin.getline(x[cant-1].ape,29); cout<<"Ingrese nombre "; cin.getline(x[cant-1].nom,29); } void verTodos(Persona x[],int cant){ int i; cout<<"EMPLEADOS REGISTRADOS"<