Question: 2 C ) Given a 1 D array of integers, perform the following task: Task - 1 : Identify 2 integers in the given 1
C Given a D array of integers, perform the following task:
Task: Identify integers in the given D array for which the product is the maximum amongst all the products. Display the indices for these integers.
Task: Identify integers in the given D array for which the product is the minimum amongst all the products. Display the indices for these integers.
Sample Result:
How many elements:
Enter elements:
Max. product maxprodind maxprodind
Min. product minprodind minprodind
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
