Added a basic snippet of code

This commit is contained in:
Tomáš Vlček 2026-03-30 07:44:33 +00:00
parent 0fd31a3c2e
commit ca9cfe51f1

View File

@ -51,7 +51,7 @@ int main()
puts(student[i].meno); puts(student[i].meno);
} }
for (int i = 0; student[i].meno[0] != '\0'; i++) for (int i = studentsAmount; student[i].meno[0] != '\0'; i++)
{ {
puts("Neprijati studenti:"); puts("Neprijati studenti:");
puts(student[i].meno); puts(student[i].meno);