We'll not write all the source for you..
You need to show us, what you did?
Where you're getting in problem?
Hmm, you got some problems in your code..
Do not use void main() never.
void main(int argc, char * argv)
You should use int main() and than, return an value at the end of the program.
Why every time you '\0' the string manually?
You can do it easily by an simple loop:
After you fix this errors, we'll work in the real problem
for(index = 0; index <= 35; index++)
string[index] = '\0';