Изменить 'du6/program.c'
This commit is contained in:
parent
5f087c3c3d
commit
15fc7eaf56
@ -71,10 +71,10 @@ void print(struct LIS *list,int count,int places){
|
|||||||
int i=0;
|
int i=0;
|
||||||
if(places>0){
|
if(places>0){
|
||||||
int k=1;
|
int k=1;
|
||||||
|
printf("Prijati studenti:\n");
|
||||||
for(int i=0;k!=places+1;i++){
|
for(int i=0;k!=places+1;i++){
|
||||||
if(list[i].num==0){
|
if(list[i].num==0){
|
||||||
fputs(list[i].fname,stdout);
|
fputs(list[i].fname,stdout);
|
||||||
printf("%d ",k);
|
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user