Aktualizovat „du6/program.c“
This commit is contained in:
parent
686ef90392
commit
340c45a6ca
@ -79,7 +79,7 @@ int main(){
|
||||
|
||||
//Print names
|
||||
if(newLines <= lines){
|
||||
puts("Prijati studenti:\n");
|
||||
puts("Prijati studenti:");
|
||||
for(int i = 0; i < newLines; i++){
|
||||
printf("%s\n", newNames[i]);
|
||||
}
|
||||
@ -92,7 +92,7 @@ int main(){
|
||||
for(int i = 0; i <= lines; i++){
|
||||
printf("%s\n", newNames[i]);
|
||||
}
|
||||
puts("Neprijati studenti:\n");
|
||||
puts("Neprijati studenti:");
|
||||
for(int i = lines + 1; i < newLines; i++){
|
||||
printf("%s\n", newNames[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user