/* HasASpace(s): Return 1 if there is a space in string s. * Return 0 otherwise. */ HasASpace(s) char *s; { char *temp=s; while (*temp) { if (*(temp++) == ' ') return(1); } return(0); }