Monday at 10 am to complete your prelab quiz. 6. Programming Assignment A palindrome is a word or phrase that reads the same whether it's written forwards or backwards. For example, madam, kayak, and racecar are all palindromes. Your assignment is to write a program which takes a phrase, and turns it into a palindrome. You will be writing a program that will perform the following: - In main (), prompt the user to enter one character at a time into a c-string (character array). Declare the necessary variables and c-string (array of characters) - Populate the array by prompting the user for input - You can make the array hold up to 100 characters. - 100 should be a global constant. Display the c-string Call the function makePalindrome () with the entered array as a parameter. - void makePalindrome (char array [], int size) Display the new palindrome - In makePalindrome (), Calculate the size of the used c-string (hint: find the \0 ) Then copy the characters of the original array and add them to the end in reverse order, regardless of the array's size (including empty) without causing any bugs. The last character in the array is NOT duplicated regardless of the length of the input array. For example, if you input "kay" it would output "kayak". If you input "abc" it would output "abcba". Here is an execution of the program twice: /lab3 Enter a string to make into a palindrome: kay kay Palindrome: kayak /lab3 Enter a string to make into a palindrome: race race Palindrome: racecar ** File: lab3.cpp ** Project: CMSC 202 Lab 3, Spring 2023 ** ** Lab 3 involves using arrays. In this file you need to ** implement the makePalindrome() function as well as populate the array ** and keep track of the length of the array. ** ******************************************************/ \#include using namespace std; /I Function Prototype for makePalindrome HERE******** void makePalindrome (char array[], int size); // Provided //Implement global constants HERE******** / IImplement main HERE********* I/ Populate your array. I/ Display the original array, call makePalindrome(), display modified array. // Implement makePalindrome() here .