Question: Write a function reportDuplicates ( ) that takes a two di - mensional integer array as a parameter and identifies the duplicate values in the

Write a function reportDuplicates() that takes a two di- mensional integer array as a parameter and identifies the duplicate values in the array. The function then reports these to user. Call the function from the main function to test it.Sample input and corresponding output:How many rows? 5 How many columns? 2Lets populate the array: 186973125Write a function reportDuplicates() that takes a two di- mensional integer array as a parameter and identifies the duplicate values in the array. The function then reports these to user. Call the function from the main function to test it.Sample input and corresponding output:How many rows? 5 How many columns? 2Lets populate the array: 186973125Write a function reportDuplicates() that takes a two di- mensional integer array as a parameter and identifies the duplicate values in the array. The function then reports these to user. Call the function from the main function to test it.Sample input and corresponding output:How many rows? 5 How many columns? 2Lets populate the array: 186973125 Thank you, there are no duplicate elements!How many rows? 3 How many columns? 4Lets populate the array: 3757697385126Thank you, 3 appears 2 times, 7 appears 3 times, 5 appears 2 times, and 6 appears 2 times. C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!