Skip to content

Instantly share code, notes, and snippets.

@jamiltron
Created March 17, 2011 04:49
Show Gist options
  • Save jamiltron/873862 to your computer and use it in GitHub Desktop.
Save jamiltron/873862 to your computer and use it in GitHub Desktop.
#include <stdio.h>
displayword(char *word1)
{
printf("the man will %s",word1);
}
int main(void)
{
char verb1[100];
printf("Please enter a verb: ");
scanf("%s", verb1);
displayword(verb1);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment