you done a realy hard work this code is very simple
first :
you can not save a string in a char you must say
char word[100]
it means that string is a group of charecters save in an...