MUST BE SOLVED USING [R]
How to get the
nth largest
even value of given array? (Use while
loop and if-statement for this problem. Do not use
existing codes. Use your own codes). DO NOT USE ANY KINDS
OF SORT FUNCTIONS.
For example, in given list [10,36,58,31,56,77,43,12,65,19], if n
is defined as 2. The program will print 56.