/* ReadBatch: Reads up to n characters from stdin to CharArray and returns the number of items read. */ #include int ReadBatch(int n, int CharArray[]) { int a, i=0; a=getchar(); while(a!=EOF && i