Write a function called findUniqueLowercaseChars that finds and writes the unique lowercase characters of a given string str in the order of appearance into the string distinct. Remember, a unique character is a character that occurs only and exactly once in the input string.
For instance, if the input string is 'mississippi', the result should be 'm'. The main function is given. The string that will be processed is read from the user in the main function. After calling the findUniqueLowercaseChars function, the resulting string is printed.
NOTES:
- You can use string.h functions.
- You may write additional functions as well if you want.
- If there is no unique lowercase characters you should print empty string.
- The resulting string is printed in main function, you should not print anything within your function.
- Assume max. length of str and unique is 99.
INPUT | OUTPUT |
this is an example | thnxmpl |
THIS is the SECOND SENTENCE | isthe |
this is the third sentence | rdc |
Important issues about all exams/projects/quizzes: