Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct Pracownik
- {
- string imie;
- string nazwisko;
- int wiek;
- string plec;
- };
- int main()
- {
- Pracownik Pracownik1 = {"Michal","Pilarski",19,"M"};
- cout << "Imie pracownika: " << Pracownik1.imie<<endl;
- cout << "Nazwisko pracownika: " << Pracownik1.nazwisko<<endl;
- cout << "Wiek pracownika: " << Pracownik1.wiek<<endl;
- cout << "Plec pracownika: " << Pracownik1.plec<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement