Aktualizovat a3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-30 07:59:40 +00:00
parent 0dcaf6fbec
commit 8c0a242914

View File

@ -9,7 +9,7 @@
struct studentApplication struct studentApplication
{ {
char name[STUDENT_SIZE]; char name[STUDENT_SIZE];
} };
int main() int main()
{ {
@ -24,7 +24,7 @@ int main()
setMemoryOfArrays(processedName, student); setMemoryOfArrays(processedName, student);
while (fgets(line, SIZE, stdin) != NULL) while (fgets(line, BUFFER_SIZE, stdin) != NULL)
{ {
if (studentsAmount == 0) if (studentsAmount == 0)
{ {