i need to write a function which inputs a string
and removes all the spaces from the start and removes all the spaces from the end of the string.
the string consists of words separated by spaces.
if between two words we have more then one space ,it cuts down the excess spaces
til its left with one space only between two words.
and each char is flipped to its parallel ascii value "c" to "x" , "i" to "h" etc..
" C is wonderful "
"X hr ofuivwmld"
i tried to solve it like this
char* AtBash(char* text)