Question: Video Games Write a program that stores the following data about a video game in a structure: Field Name title genre rank time Description string

 Video Games Write a program that stores the following data about

Video Games Write a program that stores the following data about a video game in a structure: Field Name title genre rank time Description string (name of qame) enum (type of game) float/double Use an enumerated type for the genre field that contains the following enumerators: FPS, MOBA, RolePla The program should create an array of 5 game structures and initialize it with the following information: Rank Time (days) Title League of Legends Team Fortress 2 Hearth Stone Halo Genre MOBA FPS RolePlay FPS MOBA 16.75 425 0.75 6.75 TA 2 Use a menu-driven interface to allow the user to n for all games, sorted in decreasing order by rank, in table form. 1. Print the informatio 2. Print the information for a specific game, using a full or partial title match 3. Print the total time spent for all games 4. Print the average rank for all games. Options 1 and 2 should use a function to print the text corresponding to a given genre Your program should be modular with separate functions for input and each part of the processing. You may put the output for a given option in the function that processes that option. Your output should be well- organized, neat, and easy to read an nocument. Be sure to include a structure

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!