Advertisement
Guest User

Untitled

a guest
May 26th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.20 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. #define MAX 200
  4.  
  5. typedef struct {
  6.     char nomes[MAX],nomesPrioridades[MAX];
  7.    
  8.    
  9. }alunos;
  10.  
  11. void matriculaAluno()
  12. {
  13.     char nome[MAX];
  14.    
  15.     printf("\n=============Matriculas De Alunos===============\n");
  16.    
  17.     printf("\n Informe O nome Do Aluno:");
  18.    
  19. }
  20.  
  21. void adicionarAlunos(char *nome)
  22. {
  23.    
  24. }
  25.  
  26. void removerAlunos(char *nome)
  27. {
  28.    
  29. }
  30.  
  31. void PesquisaAlunos(char *nome)
  32. {
  33.    
  34. }
  35.  
  36. void imprime_nome(char *nome)
  37. {
  38.    
  39. }
  40.  
  41. int main()
  42. {
  43.     char _in[MAX];
  44.     int menu;
  45.    
  46.     printf("\n Bem Vindo Ao Menu \n [1] Para Matricula(Normal) \n [2] \n Para Remoção Do Aluno \n [3] Pesquisa de Alunos \n [4] Para Imprimir: \n [5] Alunos Com Deficiencia: ");
  47.     scanf("%d",&menu);
  48.    
  49.     switch(menu)
  50.     {
  51.         case 1:
  52.             matriculaAluno();
  53.             break;
  54.         case 2:
  55.             removerAlunos();
  56.             break;
  57.         case 3:
  58.             PesquisaAlunos();
  59.             break;
  60.         case 4:
  61.             imrime_nome();
  62.             break;
  63.         case 5:
  64.             matriculaAlunoD();
  65.             break;
  66.         default:
  67.             printf("Comando Invalido \n");
  68.             break;
  69.     }
  70.     return 0;
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement