Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* CABEÇALHO
- Arquivo: LISTA 06 - Exercicio 1.c
- Objetivo: Faça apenas a declaração de algumas structs.
- Autor(a): Ramon Borges
- */
- #include <stdio.h>
- struct funcionario
- {
- char nome[30], numeroMatricula[8];
- int cargoProfissional, numDependentes;
- float salario;
- };
- struct contato
- {
- char nomeEmpresa[30], pessoaRespons[40], telefones[10][11];
- };
- struct ponto
- {
- int x[400], y[400];
- char ordem[30];
- };
- int main()
- {
- struct pessoa;
- struct contato agenda[50];
- struct ponto figuras [50];
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment