/**************************************** * Section : 15 * Machine No. : N * Roll No. : 19CS100XY * Name : Aritra Hazra * Assignment No : 4A * Description : Shrinking Array Elements ****************************************/ #include #define MAX 1000000 int main( ) { int n, i, j, k = 0, arr[MAX], minVal, minCount; /* taking an integer array of inputs */ printf("Enter Number of Daisy Flowers: "); scanf("%d", &n); printf("Enter Positive Number of Petals for Each %d Flowers: ", n); for (i=0; i 0) { /* computing the value and number of minimum valued elements */ minVal = arr[0]; minCount = 1; for (i=1; i=0; i--) { if (arr[i] == minVal) { for (j=i+1; j