Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- typedef struct fecha{
- int anio;
- int mes;
- int dia;
- }fecha_nacimiento;
- typedef struct oficinista_{
- char nombre[50];
- fecha_nacimiento FechaNacimiento;
- char nivel_estudios[50];
- int num_tel;
- }oficinista_t;
- typedef struct conductor_{
- char nombre[50];
- fecha_nacimiento FechaNacimiento;
- char nivel_estudios[50];
- int num_matricula;
- }conductor_t;
- typedef struct tecnico_{
- char nombre[50];
- fecha_nacimiento FechaNacimiento;
- char nivel_estudios[50];
- int codigo;
- }tecnico_t;
- typedef struct tipo_trabajo{
- oficinista_t oficinista;
- conductor_t conductor;
- tecnico_t tecnico;
- }tipo_trabajo_t;
Advertisement
Add Comment
Please, Sign In to add comment