Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- struct amigo{
- char nome[40];
- int celular;
- char email[40];
- struct amigo *prox;
- };
- typedef struct amigo Amigo;
- struct local{
- char cidade[40];
- char estado[40];
- char pais[40];
- };
- typedef struct local Local;
- struct deslocamento{
- Local *origem;
- Local *destino;
- int data;
- struct deslocamento *prox;
- };
- typedef deslocamento Deslocamento;
- struct viagem{
- Deslocamento *desl;
- int dataInicio;
- int dataFim;
- Amigo *participante;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement