Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write the code using c also i need the answer with commonet to understant them c

ID: 3638286 • Letter: W

Question

write the code using c

also i need the answer with commonet to understant them





commmeneded code

Problem 4 Write a program that declares an integer array called walues of size 55. Then get integers from the user until the user enters a non-digit and save the integers in array values. Then in function main do the following: a) Print the array to the screen 3elements per line b) Call function range c) Print the range, min and max d) Call function signs e) Print the number of zero values, negative values and positive values Function range This function receives an array and the size of the array and returns the min, max and the range (difference between the max and the min). The min and max are retumed using pointers int range (int arr[], int size, int *p min, int *p max); Function signs: This function receives an array and the size of the array and returns the number of zero values. negative values and positive values void signs (int arr int size, int p zeros, int p neg, int p pos);

Explanation / Answer

#include int range(int arr[],int size,int *p_min,int *p_max) { int i; int max,min; max=arr[0]; min=arr[0]; int range; for(i=0;imax) max=a[i]; if(a[i]