Advertisement
ThaisAlmeida

Untitled

Jul 26th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.51 KB | None | 0 0
  1.  #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct{
  5.     int matricula;
  6.     string nome[30];
  7.     string CPF[11];
  8.     int AnoIngresso;
  9. }cadastro;
  10.  
  11. struct notas{
  12.     float primeira;
  13.     float segunda;
  14.     float terceira;
  15.     float final;
  16. }notas;
  17.  
  18. typedef struct{
  19.     int matricula;
  20.     string disciplina[40];
  21.     notas notas;
  22.     string aprovado[5];
  23.     }disciplinas;
  24.    
  25. typedef struct{
  26.     int matricula;
  27.     float debito;
  28.     int DisciplinasRestantes;
  29.     }situacao;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement