#include<iostream>
using namespace std;
struct student
{
string imie;
string nazwisko;
char plec;
int nr_pesel;
int nr_indeksu;
};
void display_student(student &student1)
{
cout<<student1.imie<<endl;
cout<<student1.nazwisko<<endl;
cout<<student1.plec<<endl;
cout<<student1.nr_pesel<<endl;
cout<<student1.nr_indeksu<<endl;
}
void display_all_studnet( student osoba[],int n)
{
for(int i=0; i<n; i++)
{
display_student(osoba[i]);
}
}
int main()
{
student student1;
cin>>student1.imie>>student1.nazwisko>>student1.plec>>student1.nr_pesel>>student1.nr_indeksu;
//display_student(student1);
int n=3;
student osoba[n];
osoba[0].imie="ma";
osoba[0].nazwisko="to";
osoba[0].plec='m';
osoba[0].nr_pesel=12;
osoba[0].nr_indeksu=3413;
osoba[1].imie="na";
osoba[1].nazwisko="lllo";
osoba[1].plec='r';
osoba[1].nr_pesel=133332;
osoba[1].nr_indeksu=3123;
osoba[2].imie="po";
osoba[2].nazwisko="co";
osoba[2].plec='m';
osoba[2].nr_pesel=112122;
osoba[2].nr_indeksu=3;
display_all_studnet(osoba,n);
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}