Initialization

This commit is contained in:
Kozar 2024-04-25 17:52:18 +02:00
parent 286056678a
commit 6527362089

View File

@ -24,7 +24,7 @@ int main() {
memset(names, 0, sizeof(names));
while (fgets(temp_name, sizeof(temp_name), stdin)!= NULL && num_accepted < max_students) {
while (fgets(temp_name, sizeof(temp_name), stdin) != NULL && num_accepted < max_students) {
int i, found = 0;
@ -43,9 +43,8 @@ int main() {
}
num_students++;
if (num_accepted == max_students) {
break;
break;
}
}