C Programming: inventory recording program: Construct a program for a game-store that stores info…

C Programming: inventory recording program: Construct a program for a game-store that stores info…
C Programming: inventory recording program: Construct a program for a game-store that stores info regarding sales figures for games in their inventory. The program shall use an array of structures to store this information. This program shall prompt the user for the number of games to enter. Then the program should prompt the user to type in the title of each game, and the number sold of that game, and a number indicating the game’s genre. After all the data has been entered, display the list of games, number ordered, and a text value indicating the genre. Requirements The game’s title is entered as whole-line input, and this information may include spaces. Inventory information for each game must be stored in a structure containing the title of the game (a string of size 16), the quantity sold, and an enumerated type indicating the genre. The inventory for the store is stored as an array of these structures. The genre enumerated data type must use these enumeration constants, in this order: action, rpg, simulation, strategy, sports. You must use a function called get_game_info to read the information for each game from the user. This function needs one argument: the current element of the game array as an output parameter. Remember, each element of this array is a structure! This function has no return value. This function must display a message if the length of the game title exceeds 15 characters. Always set the last element in the string to the null character, regardless of the length. This function must also check that the value entered for the genre is within the correct range for the enum values (as noted in #3 above). Your code must continue to ask the user for a correct genre, as in the sample run. The check must use the enum constants, not the numbers represented by the enums. You must use a function called display_game_info to display the contents of the games array. This function has two arguments: the array of game structures and the number of games in inventory (which is the size of the array). This function must use a switch statement to determine which genre text to print. Remember, the genre for each game is stored as an enum value, not as a string. Your output should display actual words, like “RPG” or “Strategy”. ***Please include as many comments as possible as I will be comparing my program to yours, Thanks*** The output must be neatly formatted and line up exactly as in the sample run.       May 13 2022 07:27 PM

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 (409) 205-8984

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code DISCOUNT