my code that isnt working
Can you give us more details about the problem, please?

Anyway, I see one problem which is that your code is not well indented. If it were, then you would see at once that your if() are making an impossible cascade, since a character cannot be a letter of the alphabet, and at the same time be a punctuation and a space:
Code:
if (isalpha(usertext) )
   if (ispunct(usertext) )
      if (isspace(usertext) )
         putchar(usertext);
      else {
         putchar (usertext);
      }