nikolas_serafini

Lista 6 - Exercício 1

Jul 16th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1.  
  2. //  A
  3. struct funcionario {
  4.     char name[41],matricula[9],cargo[3];
  5.     int dependentes;
  6.     float salario;
  7. }
  8.  
  9. //B
  10. struct agenda {
  11.     char empresa[31],responsavel[41];
  12.     int telefones[10];
  13. }contatos[50];
  14.  
  15. //C
  16. struct ponto {
  17.     float x,y;
  18.     int ordem;
  19. }
  20.  
  21. struct figura {
  22.     struct ponto pontos[400];
  23. }
  24.  
  25. int main() {
  26.    
  27.     struct figura figuras[50];
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment