Armazenar o nome, sexo e idade de vinte pessoas. Após a digitação, exibir
os dados (nome, sexo e idade) classificados por sexo (crescente), depois por
idade (decrescente) e finalmente por nome (alfabética). Por exemplo, com a seguinte entrada:
| Nome |
Sexo |
Idade |
| SOLANGE |
F |
34 |
| MARCELO |
M |
36 |
| JOAO |
M |
11 |
| MAGNA |
F |
34 |
| JUNIOR |
M |
6 |
| MARIA |
F |
35 |
| LUCAS |
M |
10 |
| GABRIEL |
M |
7 |
| FELIPE |
M |
10 |
Teríamos a seguinte saída:
| Nome |
Sexo |
Idade |
| MARIA |
F |
35 |
| MAGNA |
F |
34 |
| SOLANGE |
F |
34 |
| MARCELO |
M |
36 |
| JOAO |
M |
11 |
| FELIPE |
M |
10 |
| LUCAS |
M |
10 |
| GABRIEL |
M |
7 |
| JUNIOR |
M |
6 |