Given a vector, write a program to find and display the seco…
Given a vector, write a program to find and display the second largest even number present in the vector. Note that numbers can repeat themselves in the vector. For example, in the vector [97 4 88 43 2 57 97 88 5 2 4 2], the program should display 4 as it is the largest even number after 88. Note that you cannot use sort() and unique() commands. vec = input(‘Enter the vector: ‘);
Read Details