Problem solved, Thanks everyone,thanks Ignacio. Bingo! It now works! Your explanation on the 'for' made me understand it better.
for(i=0;((word[i]>='a')&&(word[i]<='z')||word[i]);i++)
with a break statement did the trick.
The one from the textbook did work, I guess error was from my side.
I guess with patience anyone C.
Olufowobi L.O
[Non-text portions of this message have been removed]
