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

This commit is contained in:
Pavlo Tverdyi 2020-04-16 19:23:22 +00:00
parent 73006062d7
commit f04d480122

View File

@ -73,7 +73,7 @@ void print(struct LIS *list,int count,int places){
if(places>0){ if(places>0){
int k=0; int k=0;
printf("Prijati studenti:\n"); printf("Prijati studenti:\n");
for(int i=0;k!=places+1;i++){ for(int i=0;k!=places;i++){
if(list[i].num==0){ if(list[i].num==0){
fputs(list[i].fname,stdout); fputs(list[i].fname,stdout);
k++; k++;