ramontricolor12

LISTA 06 - Exercício 01

Jul 15th, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. /* CABEÇALHO
  2.    Arquivo: LISTA 06 - Exercicio 1.c
  3.    Objetivo: Faça apenas a declaração de algumas structs.
  4.    Autor(a): Ramon Borges
  5.  */
  6.  
  7. #include <stdio.h>
  8. struct funcionario
  9. {
  10.     char nome[30], numeroMatricula[8];
  11.     int cargoProfissional, numDependentes;
  12.     float salario;
  13. };
  14. struct contato
  15. {
  16.     char nomeEmpresa[30], pessoaRespons[40], telefones[10][11];
  17. };
  18. struct ponto
  19. {
  20.     int x[400], y[400];
  21.     char ordem[30];
  22. };
  23.  
  24. int main()
  25. {
  26.     struct pessoa;
  27.     struct contato agenda[50];
  28.     struct ponto figuras [50];
  29.     return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment