write a function called delete repeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. it returns a new dynamic array where all repeated letters are deleted. do not modify the input array.