Write a function "no_repetitions(...)" which removes all repetitions of characters from a string. Test the function in a suitable main program, which should be able to reproduce the following input/output
Type in a string: This string contains repeated characters
The string without repetitions is: This trngcoaepd
I failed to solve this problem and i cannot ype the imput with space, i mean i can only type the imput like Thisstringcontainsrepeatedcharacters
Can anyone help me ?