Guest User

Untitled

a guest
Apr 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.23 KB | None | 0 0
  1. if(num_usuarios == 0){
  2.                         system("cls");
  3.                         printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205);
  4.                         printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\n",205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
  5.                         printf("%c     Usuarios Cadastrados    %c\n",186,186);
  6.                         printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205);
  7.                         printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\n",205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
  8.                         printf("Nao existe usuarios cadastrados!\7\n> Deseja cadastrar algum? (s/n)\n");
  9.                         do{
  10.                             fflush(stdin);
  11.                             opc = getche();
  12.                         }while(opc != 's' && opc != 'n');
  13.                         if(opc == 's'){
  14.                             novo(usuarios, ++num_usuarios);
  15.                             break;
  16.                         }
  17.                         else
  18.                             break;
  19.                     }
  20.                     escolher(usuarios, num_usuarios);
Add Comment
Please, Sign In to add comment