Introduction
Exercises
7. Profitable games by type

Instruction

Easy peasy lemon squeezy! Maybe this one will be more difficult for you!

Exercise

Count how many games of a given type turned out to be profitable (their revenue was greater than the production cost). Show the number of games and the type column.

Console

Code editor

Result

TableConsole