/* File Name : worcount.c Course Number : ISYS 290 04 Student Name : Jason Gradziel Student Number : 826-135-535 Professors Name : Brian Perry Class Name : Wednesday 9:55 - 12:35 Lab Title : Assignment #1 Word Count Description : Enters a character string, sets a flag to 1 if the character at the value of k is not a space, then when a space is read then it increaces num by one and sets flag to zero, and returns num. */ #include int word_count(char* str) { int num=0; int k=0; int flag=0; if (str[0] == '\0') /* if a null or \0 char it enter as */ return num; /* the string */ for (k=0; k