('Second Largest Element in Odd List is:' + oddsec) ('Second Largest Element in Even List is:' + evensec) Int evensec = even.get (even.size () - 2)
Int length, i, j, oddlen, evenlen, temp, c, d Ĭout << '\nSorted even array : ' // printing even arrayĬout << 'Sorted odd array : ' // printing odd arrayĬout << even + odd // printing final result Printf('Enter the length of the array: ')
Divide the quotient again by n, Treat the division as integer division.Write the the remainder (in n-base notation).Divide the decimal number by n,Treat the division as the integer division.The function accept positive integer n and num Implement the function to calculate the n-base equivalent of num and return the same as a string N-base notation is a system for writing numbers that uses only n different symbols, This symbols are the first n symbols from the given notation list(Including the symbol for o) Decimal to n base notation are (0:0, 1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7, 8:8, 9:9, 10:A,11:B and so on upto 35:Z)