### (Solved) : Write C Language Program Given Problem Given Also Two Example Executions Code Q35553979

Write a C language program with the given problem, given alsotwo example executions of the code:

Problem: Present the user of your program with two options from which they can select and perform tests on the random number generator. In both options the user will enter a seed value and an integer number The first option will begin with the seed given to determine if the desired integer is the first number generated and will increment by one to the next seed value and will continue until a seed is identified that generates as its first value the desired integer. In the second option the seed given will be used to continually generate numbers until the desired integer has been generated. Display the count of the numbers generated to reach the desired integer. For both options: The acceptable range of seed values is 1 to 100,000 inclusive of both end points. The acceptable range of integer values to be generated is from 0 to 100,000 inclusive of both end points Example Execution #1: Random Number Testing Options 1. Find a seed 2. Find a number Enter option -1 Enter starting seed value -> 2500 Enter desired integer number -> 55555 Given starting seed [2500] and desired number [55555] Seed that generates desired number first: 58226 Example Execution #2: Random Number Testing Options 1. Find a seed 2. Find a number Enter option -2 Enter starting seed value ->325 Enter desired integer number -> 2300 Given starting seed [325] and desired number [2300] Count of number generations until desired found: 97975 Show transcribed image text Problem: Present the user of your program with two options from which they can select and perform tests on the random number generator. In both options the user will enter a seed value and an integer number The first option will begin with the seed given to determine if the desired integer is the first number generated and will increment by one to the next seed value and will continue until a seed is identified that generates as its first value the desired integer. In the second option the seed given will be used to continually generate numbers until the desired integer has been generated. Display the count of the numbers generated to reach the desired integer. For both options: The acceptable range of seed values is 1 to 100,000 inclusive of both end points. The acceptable range of integer values to be generated is from 0 to 100,000 inclusive of both end points Example Execution #1: Random Number Testing Options 1. Find a seed 2. Find a number Enter option -1 Enter starting seed value -> 2500 Enter desired integer number -> 55555 Given starting seed [2500] and desired number [55555] Seed that generates desired number first: 58226

Example Execution #2: Random Number Testing Options 1. Find a seed 2. Find a number Enter option -2 Enter starting seed value ->325 Enter desired integer number -> 2300 Given starting seed [325] and desired number [2300] Count of number generations until desired found: 97975