#include<stdio.h>
#define MAX 10
typedef struct {
char first[MAX];
char second[MAX];
char last[MAX];
}Name;
typedef struct {
char ID[MAX];
Name name;
}Person;
void show(Person &p){
printf("%s,%s,%s.-%s\n",p.name.first,p.name.second,p.name.last,p.ID);
}
int main(){
Person pp[5] = {
{"302039820",{"Dribble1","Flossie1","M1"}},
{"202039820",{"Dribble2","Flossie2","M2"}},
{"102039820",{"Dribble3","Flossie3","M3"}},
{"402039820",{"Dribble4","Flossie4","M4"}},
{"402039820",{"Dribble5","Flossie5","M5"}},
};
int i=0;
while(i<5){
show(pp[i]);
i++;
}
char c =getchar();
return 0;
}