Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Write a complete and commented C++ program using prefix function to return the longestcommon prefix between two strings: String prefix(const string str1, const string str2)Make sure that your program
Write a complete and commented C++ program using prefix function to return the longestcommon prefix between two strings: String prefix(const string str1, const string str2)Make sure that your program prompts the user to enter two strings and displays their longestcommon prefix.