Question: Given two equal - sized numeric arrays a and b , write a function that compares a and b element - wise, i . e
Given two equalsized numeric arrays aand b write a function that compares aand belementwise, ie the first element of ato the first element of b and the second element of bto the second element of b ect. If ahas an equal number of or more elements greater than b then the function should return awith the count of elements that are greater than those of b If bhas more elements greater than a then the function should return bwith the count of elements that are greater than those of a Task
Write a function aFunctionthat takes up to two input argumentsand returns two output values.
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
