Guest User

munus

a guest
Jan 12th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1.     void MENUVerEquipa(GameManager *gMlocal);
  2.     {char opcao;
  3.     do {
  4.         opcao = "";
  5.  
  6.         printf("1.Listar Equipa.\n");
  7.         printf("2.Informaçao associada.\n");
  8.         printf("3.Tatica.\n");
  9.         printf("0. Sair");
  10.         scanf(" %c", &opcao);
  11.         switch (opcao) {
  12.  
  13.         case '1':
  14.             break;
  15.  
  16.         case '2':
  17.             break;
  18.  
  19.         case '3':
  20.             break;
  21.  
  22.         case '0':
  23.             printf("0");
  24.             UserReady();
  25.             break;
  26.  
  27.         default:
  28.             printf("Introduza um valor numérico válido!\n");
  29.             break;
  30.         }
  31.  
  32.  
  33.     } while (opcao != '0');
  34.     }
  35.  
  36.     }
Advertisement
Add Comment
Please, Sign In to add comment