Question: Ask the user to insert how many array elements that they desired, maximum 2 0 . 2 . Create three arrays ( array 1 ,
Ask the user to insert how many array elements that they desired, maximum
Create three arrays array array array with each of them have the total number of elements that inserted by user.
Generate a random number for each element in the first two arrays array & array within the range of to
Hints: You could explore srand and rand to generate the random number.
For the first two arrays array & array compare element by element. If the element value of array is larger than array then store in the array element accordingly. If the element value of array is smaller than array then store in the array element accordingly. If the element of array and array are equal, then store in the array
From array which only stores or based on the comparison result of each element stores in the array and array determine:
The total number of elements that array is larger than array
The total number of elements that array is larger than array
The total number of elements that array is equal with
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
