Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char imie_i_nazwisko[50];
- char adres_zamieszkania [50];
- char pesel [12];
- char miejsce_urodzenia[50];
- char numer_buta[4];
- printf("Podaj swoje imie i nazwisko: \n");
- gets(imie_i_nazwisko);
- printf("Podaj numer pesel: \n");
- gets(pesel);
- printf("Podaj adres zamieszkania: \n");
- gets(adres_zamieszkania);
- printf("Podaj miejsce urodzenia: \n");
- gets(miejsce_urodzenia);
- printf("Podaj numer buta: \n");
- gets(numer_buta);
- printf("Witaj %s, Twoj adres zamieszkania to %s z kolei numer buta to %s.\n Urodziles sie w %s a Twoj pesel to %s.\n\n\n"
- " Milego dnia %s", imie_i_nazwisko, adres_zamieszkania, numer_buta, miejsce_urodzenia, pesel, imie_i_nazwisko);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement