Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct osoba
- {
- string imie;
- string nazwisko;
- int wiek;
- };
- int main()
- {
- osoba jan;
- jan.imie= "Jan";
- jan.nazwisko= "Kowalski";
- jan.wiek= 55;
- cout<<"Twoje imie to: "<<jan.imie<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement