nikolas_serafini

Lista 6 - Exercício 5

Jul 16th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include <stdio.h>
  2. #define MAXATH 15
  3. #define MAXTEAMS 10
  4. #define MAXNAME 40
  5.  
  6. struct AthletType {
  7.     int matr,age;
  8.     float height;
  9. };
  10.  
  11. struct Date {
  12.     int day,month,year;
  13. };
  14.  
  15. struct Team {
  16.     struct AthletType Athlets[MAXATH];
  17.     struct Date CreationDate;
  18.     char TeamName[MAXNAME];
  19. }
  20.  
  21. int main() {
  22.  
  23.     struct Team TeamData[MAXTEAMS];
  24.        
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment