Skip to content

Commit

Permalink
dubl 3
Browse files Browse the repository at this point in the history
  • Loading branch information
dimakyba committed Apr 28, 2024
1 parent 2f73d0e commit 74638bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void RunMenu(List<Student> students)
static void Main()
{
Console.OutputEncoding = UTF8Encoding.UTF8;
List<Student> students = ReadData("../input.txt");
List<Student> students = ReadData("../input_rnd.txt");
RunMenu(students);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ static double CountAverageScore(Student student)
{
sum += 2;
}
sum += double.Parse(c.ToString());
else { sum += double.Parse(c.ToString()); }

}

return sum / n;
Expand Down

0 comments on commit 74638bc

Please sign in to comment.