Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <iostream>
  2.  
  3.  
  4. using namespace std;
  5.  
  6. struct dane//tutaj jest przepis na strukturę
  7. {
  8. string imie, nazwisko, nr_tel;
  9. };
  10.  
  11. int main()
  12. {
  13. dane slownik;
  14. dane ksiazka;
  15.  
  16.  
  17. cout<<"Witaj!"<< endl;
  18. cout<<"Prosze podaj swoje imie: "<<endl;
  19. int dupa;
  20.  
  21. cin>>slownik.imie;
  22. cin>>slownik.nazwisko;
  23. cin>>slownik.nr_tel;
  24.  
  25. cin>>ksiazka.imie;
  26. cin>>ksiazka.nazwisko;
  27. cin>>ksiazka.nr_tel;
  28.  
  29.  
  30.  
  31. cout<<slownik.imie;
  32.  
  33. return 0;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement