Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<iomanip>
- #include<string>
- using namespace std;
- const int max_m=30;
- struct osoba{
- string imie[11];
- string nazwisko[11];
- string pesel[12];
- };
- void wprand(osoba osoby[]){
- osoby[0]="kamil"
- cout<<osoby[0].imie<<osoby[0].nazwisko<<osoby[0].pesel;
- }
- int main() {
- osoba osoby[max_m];
- wprand(osoby);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement