Skip to main content

Practice ยท 2 of 3

Daily Sales Report with GroupBy

CHALLENGE
Difficulty: intermediate+25 XP

Produce a per-day report: "Day 1: 3 orders, avg 42.5" โ€” average of amounts rounded to 1 decimal (MidpointRounding.AwayFromZero), days in ascending order, zero-padded to width 2. ``csharp static List<string> DailyReport(IEnumerable<Solution.OrderLine> lines); ``

Back to lesson: Practice: LINQ Practice: Sales Analytics