finished feladat8

This commit is contained in:
szabomarton committed 2024-09-06 11:18:19 +02:00
1 parent 1bd4104c41
commit 011436e3de
6 files changed
+6

No files matched your search

Binary file not shown.
@@ -18,6 +18,7 @@ namespace HegyekMO
Feladat5(); Feladat5();
Feladat6(); Feladat6();
Feladat7(); Feladat7();
Feladat8();
Console.ReadLine(); Console.ReadLine();
} }
@@ -141,6 +142,11 @@ namespace HegyekMO
Csoportositotthegyek[item.Hegyseg]++; Csoportositotthegyek[item.Hegyseg]++;
} }
} }
foreach (var item in Csoportositotthegyek)
{
Console.WriteLine($"{item.Key}, {item.Value}");
}
} }