Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main () {
- char vendedor [6];
- int senhas[6];
- char produtos [16];
- int x;
- x==0;
- while (vendedor[x] = 0){
- for (x=0; x<7; x++) {
- printf ("Bem vindo! Escreva o nome dos 7 vendedores, seguido de suas senhas");
- scanf ("%s", &vendedor[x]);
- scanf ("%d", &senhas[x]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement