Question: Use C program and please do not use outside c99 mode Problem 3 (40 pts) Write a single C program within which you a) Generate

Use C program and please do not use outside c99 mode ProblemUse C program and please do not use outside c99 mode

Problem 3 (40 pts) Write a single C program within which you a) Generate n random integers and store them in an array A. Note: - n is a keyboard input that must be greater than 10 . - Must implement a sanity check for n to ensure it is greater than 10 . And if it is not, it should keep asking for a new value of n. - The maximum value of any randomly generated integer is 5 . b) Write a function to sort the elements of array A in descending order. c) Write a function to print elements of array A ignoring duplicates. d) Test your code with n=100

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!