//DESAFIO 1
//Criar um dicionário que represente um aluno, com uma lista de notas, e mostre a média de suas notas na tela.
Dictionary<string, List<int>> alunos = new Dictionary<string, List<int>>();
alunos.Add("Cauan", new List<int> {8, 6, 10 });
alunos.Add("Rone", new List<int> { 10, 10, 9 });
foreach (var aluno in alunos)
{
Console.WriteLine(aluno.Key);
List<int> notas = aluno.Value;
float soma = 0;
foreach (var nota in notas)
{
Console.WriteLine(nota);
soma += nota;
}
Console.WriteLine($"soma = {soma}\n");
float media = soma / notas.Count;
Console.WriteLine($"media = {media}\n");
}