for (i=1; i <= 10; i++)
Also, when you compile try to turn on warnings in your compiler and fix all of them. In your code you have some other things that should be caught by the compiler, for example:
text= ("The two of");
You made text an `int' variable and are trying to assign a string constant to it.
Same here. You cannot add strings together in C in any meaningful way. For string concatenation there is `strcat'.