there is no info given in the program on what to print if there are no consecutive letters found.
No info about the worst case
Display the resulting string (i.e after inserting (*) b/w all the duplicate characters)
according to this if no duplicate exists ,you insert no stars and print the string as it was