Can anyone give me advice on how I can improve my answer? I have tested it out using “ABCA”, “BCABA” and “ABC”. Two things I would like help on. 1.How can I move this code into a method where it returns the reoccurring char? I know how to return the char once it has beenRead more