Question: C++ Write a function with user input data named as getLargestIntegerWithLargestTUEDC(), which will Receive an array of integers and its size as arguments; and Return

C++

Write a function with user input data named as getLargestIntegerWithLargestTUEDC(), which will

Receive an array of integers and its size as arguments; and

Return the largest integer that has the largest unique EVEN digit count (TUEDC).

Hint! int ary1[3] = {1004, -2111, 80645}, int size1= 3;

// Explanatory Hint

// 1004 has 2 unique even digits.

// -2111 has 1 unique even digit.

// 80645 has 4 unique even digits.

// So the return value is 80645.

int ary2[4] = {1004, -2111, 602400, 80645}; int size2 = 4;

// Explanatory Hint

// 1004 has 2 unique even digits.

// -2111 has 1 unique even digit.

// 602400 has 4 unique even digits.

// 80645 has 4 unique even digits.

// So the return value is 602400. int ary3[5] = {1, -3, 5, -7, 9}; int size3 = 5;

// Explanatory Hint

// All values of 1, -3, 5, -7, and 9 have no even digits.

// This special case WILL RETURN a value of -99999.

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!