Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
flovnes committed Apr 28, 2024
1 parent dd86a02 commit ac6c9bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static void RunMenu(List<Student> students) {
break;
default:
Console.WriteLine("Немає такого варіанту.");
break;
break;
}
}
} while (match != 0);
Expand Down
8 changes: 4 additions & 4 deletions src/student.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ public Student(string line) {
patronymic = fields[2];
sex = char.Parse(fields[3]);
dateOfBirth = fields[4];
Marks = [
char.Parse(fields[5]),
Marks = [
char.Parse(fields[5]),
char.Parse(fields[6]),
char.Parse(fields[7])
];
];
scholarship = int.Parse(fields[8]);
}
}
}
}

0 comments on commit ac6c9bc

Please sign in to comment.