+ 1
Challenge for C++ programmer
In a string, if the no of letters is even, check if the first and last letter are capital, if not change them to upper. If the no of letters is odd, convert the string into proper case (ie agd jd -- Agd Jd). you can't use library functions.
3 Respuestas
+ 5
Hint
try using a char array,
read the string, put the desired format to the array.
+ 3
Is that your homework?
0
nope not my homework