strlen() calculates the length of a string. I used it to determine the length of the text: "Welcome to Camelot!"
greetKing()which returns a personalized greeting: "Hello, King Richard! Your Home Camelot is ready!" By using user-defined functions, you can create your own reusable pieces of code.