Question: Processing Question Write a function, named append, that accepts a string and a character as input parameters and returns a single string that contains the
Processing Question

Write a function, named append, that accepts a string and a character as input parameters and returns a single string that contains the character appended at the start of the string. If you call the function as append("ello World", 'H') the output that the function append must return should be "Hello World". Question 11 (2 points) Write a function that takes in two chars and returns a String, where the two chars are each repeated twice to make the String. For example, if you send in ' x ' and ' y ', the function should return "xxyy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
