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