Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int ile, licznik;
- char nazwa[50];
- printf("Podaj liczbe: ");
- scanf("%d", &ile);
- for(licznik = 0; licznik < ile; licznik++)
- {
- printf("Podaj nazwe %d: ", licznik+1);
- fgets(nazwa, 51, stdin);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement