Topic: Language Problem / Level: intermediate

Problem: Write a program to find the longest common prefix between two strings using a function.

Run the code to see the output here...