Question: Needs to be done in C language 1. (30 pts) Write a program that reads n integers into an array, then prints on a separate

Needs to be done in C language
1. (30 pts) Write a program that reads n integers into an array, then prints on a separate line the value of each distinct element along with the number of times it occurs. The values should be printed in ascending order. Turn in your code and input/result together. Suppose, for example, that you input the values 7 3 3-75 5 3 as the elements of your array. Then your program should print -7 occurs 2 times 3 occurs 3 times 5 occurs 2 times
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
