C Programming Assignment 9 Pointers For each of the programs assigned below, submit the following: Copy of the source code (c, not cpp, file) uploaded to Assignment 8 louated in Canvas under Assignments. . Observe the usual guidelines regarding the initial comment section, indenting, and so on. In addition, when functions are required, place function definitions following main. Before each function use comments to explain what the function does. Do not use global variables. Use the random number generator to randomly generate an integer between 1 and 100 into an array that will hold 20 elements. Sort this array from largest to smallest. Print both the original array and the sorted array to the screen Count the number of odd numbers that are in the array and output that to the screen. 1. 2. For this problem, you will besin .scating a program that will allow a person to play Yahtzee. You will only do one small part of the program, however. Your job will be to: Use the random number generator, seeded with time, to assign 5 random numbers(1-6) into an array Print the five dice numbers to the screen . .Ask the user to select which dice they'd like to keep . Then roll the non-selected dice again Print the five dice numbers to the screen Again, ask the user to select which dice they'd like to keep Then take the final roll of the non-selected dice Print the final dice rolls to the screen. . 32515 Would you like to keep dice 1? N Would you like to keep dice 2? N Output should look like this: You should use an integer array for the dice and a Would you like to keep dice 4? N character array for whether you keep the dice or Would you like to keep dice 5? Y not. Everything can be done in main. 52515 Would you like to keep dice 1? Y Would you like to keep dice 2? N Would you like to keep dice 3? Y Would you like to keep dice 4? N Would you like to keep dice 5? Y