Practice · 4 of 4
Count by Kind
CHALLENGE
Difficulty: beginner+25 XP
Given the Material model in scope, implement int count_kind(const Material *ms, int n, Kind k) returning how many records have kind k.
Press Submit to check your solution.
Back to lesson: Practice: Enum Practice