Question: Video Games Write a program that stores the following data about a video game in a structure: Use an enumerated type for the genre field

 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: Use an enumerated type for the genre field that contains the following enumerators: FPS; MOBA, RolePlay The program should create an array of 5 game structures and initialize it with the following information: Use a menu-driven interface to allow the user to: Print the information for all games, sorted in decreasing order by rank, in table form. Print the information for a specific game, using a full or partial title match. Print the total time spent for all games. 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. Design your program by completing the CS 250 Program Design Document. Be sure to include a structure chart for the program, the prototype for each function, a brief description of what each function does and time estimates for program design, coding each function, program testing, and total time. Save the design in a file named VideoGameDesign_xxx.doc where xxx are your initials. Submit your program design in the Program 5 Design drop box by the due date shown in the D2L calendar. Write your program and save it in a file named video_game_xxx.cpp where xxx are your initials. Compile, run and test your program. Update your Program Design Document, adding the final time spent on each part of the program. Submit your final Program Design document and working .cpp file in the Program 5 drop box by the date shown in the calendar and drop box tools. Video Games Write a program that stores the following data about a video game in a structure: Use an enumerated type for the genre field that contains the following enumerators: FPS; MOBA, RolePlay The program should create an array of 5 game structures and initialize it with the following information: Use a menu-driven interface to allow the user to: Print the information for all games, sorted in decreasing order by rank, in table form. Print the information for a specific game, using a full or partial title match. Print the total time spent for all games. 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. Design your program by completing the CS 250 Program Design Document. Be sure to include a structure chart for the program, the prototype for each function, a brief description of what each function does and time estimates for program design, coding each function, program testing, and total time. Save the design in a file named VideoGameDesign_xxx.doc where xxx are your initials. Submit your program design in the Program 5 Design drop box by the due date shown in the D2L calendar. Write your program and save it in a file named video_game_xxx.cpp where xxx are your initials. Compile, run and test your program. Update your Program Design Document, adding the final time spent on each part of the program. Submit your final Program Design document and working .cpp file in the Program 5 drop box by the date shown in the calendar and drop box tools

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!