Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. int main () {
  4. char vendedor [6];
  5. int senhas[6];
  6. char produtos [16];
  7. int x;
  8. x==0;
  9.  
  10. while (vendedor[x] = 0){
  11. for (x=0; x<7; x++) {
  12. printf ("Bem vindo! Escreva o nome dos 7 vendedores, seguido de suas senhas");
  13. scanf ("%s", &vendedor[x]);
  14. scanf ("%d", &senhas[x]);
  15.  
  16.  
  17. }
  18.  
  19. }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement