Write a definition of function attachToEnd(s,c), which produces the string that you get by adding character c to the end of string s. For example,
  attachToEnd("abcd", 'e') = "abcde"
  attachToEnd("giraffe", 's') = "giraffes"
Keep in mind that s is a string but c is a character. Use the $ function to convert the character to a string and the ++ operator to concatenate strings.

 

  [Language: Cinnameg  Kind: function definition]