Rubayet A.

asked • 05/18/21

computer science

Define a structure named Gamer which will have the following elements: Number_of_ favorite_games (int), List_of_favorite_games (2D string). Now declare a structure array of Gamer for 5 gamers and take inputs for them. Now generate a rank list of the games. (Hint: The game which appeared most in the favorite games list will be the top game. In case of tie, print the game which comes alphabetically before)

Patrick B.

The names of each game must be consistent or else it will throw off the frequency counts. I suggest using a numbering system instead and selecting from a menu. For example... The original Pac-Man and pac-man are technically the same game, but shall be treated as 2 different entries in the frequency table.
Report

05/18/21

1 Expert Answer

By:

Patrick B. answered • 05/18/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.