Chat with our AI personalities
60 is one of 5 numbers that has 12 arrays.
Oh, isn't that a happy little question! With 7 elements, you can create many arrays by arranging them in different orders. The number of different arrays you can make out of 7 elements is 5040. Just imagine all the beautiful possibilities waiting to be painted on your canvas of creativity!
1*422*21 3*146*7
12!/(5!*7!)The number of ways to arrange nitems is n!, where "!" is the factorial function. The number of ways we can arrange the 12 books is therefore 12!. However, we don't really care what order the first 5 books are in, or what order the last 7 books are in, as long as they're the same books. We therefore divide by the number of ways to arrange 5 books and the number of ways to arrange 7 books.
Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.