Write a function in C++ that displays a random N-digit number. Your function should get each digit using the function you wrote for the previous problem. The number of digits N should be supplied as an argument. The solution defines functions to determine the length of an integer and check if an integer is a palindrome. It takes user input for a number, calls the length function, and then calls the palindrome check function to determine if the number is a palindrome or not.