Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include<iostream>
  2. #include<iomanip>
  3. #include<string>
  4. using namespace std;
  5. const int max_m=30;
  6. struct osoba{
  7.     string imie[11];
  8.     string nazwisko[11];
  9.     string pesel[12];
  10. };
  11. void wprand(osoba osoby[]){
  12.     osoby[0]="kamil"
  13.     cout<<osoby[0].imie<<osoby[0].nazwisko<<osoby[0].pesel;
  14. }
  15. int main() {
  16.     osoba osoby[max_m];
  17.     wprand(osoby);
  18.    
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement