Question: This will be in C code all parameters are given for each function undefined void fillnteger( int a[ ], int length, int min, int max
This will be in C code all parameters are given for each function
undefined
void fillnteger( int a[ ], int length, int min, int max ) Fill the array with random integers between min and max (inclusive). You may assume that min is less than max. void fillCharacter( char c[ ], int length, char start, char end) Fill the array with random characters between start and end (inclusive). You may assume that start is alphabetically before end. void findConsecutive( int array[ ], int length ) Examine the array. If any two elements are consecutive integers, print a message giving the array subscripts of the two elements. (Remember, subscripts start with 0.) For example, here's an array with 10 elements. Assume that this is the array passed to the function and the length passed is 10. 9 11 12 10 18 20 -10 12 -3 -2 For this array, there are two places where two consecutive integers occur, so the function should print Elements [1] and [2] are consecutive. Elements [8] and [9] are consecutive. void findTriples (char c[], int length ) . Examine the array. If any 3 sequential elements form an alphabetic sequence, print a message with the 3 characters. For example, assume that an array containin the following 10 characters is passed to the function along with the length of 10. a b cik jim n x There are two places where there are 3 characters in alphabetic sequence, so the function should print abc lmn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
