Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct dane//tutaj jest przepis na strukturę
- {
- string imie, nazwisko, nr_tel;
- };
- int main()
- {
- dane slownik;
- dane ksiazka;
- cout<<"Witaj!"<< endl;
- cout<<"Prosze podaj swoje imie: "<<endl;
- int dupa;
- cin>>slownik.imie;
- cin>>slownik.nazwisko;
- cin>>slownik.nr_tel;
- cin>>ksiazka.imie;
- cin>>ksiazka.nazwisko;
- cin>>ksiazka.nr_tel;
- cout<<slownik.imie;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement