Изменить 'du5/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-04-08 18:24:37 +00:00
parent 9f3a2b94d6
commit 1aa9067447

View File

@ -84,7 +84,7 @@ void Sort_Struct(struct LIS *list,int count){
void print(struct LIS *list,int count){
printf("Vysledky:\n");
for(int i=0;i<count;i++){
if(list[i].num!=-1){
if(list[i].num!=-1 && list[i].num!=0){
printf("%d %s %s\n",list[i].num, list[i].sname, list[i].fname);
}
}