/* Spring 2023 - Lab 8 - printArray.c 

	continuation of Lab 7
	This time, the program will consist of multiple files with each function
	from last week's lab in a separate file.
	1. printMenu.c
	2. convertCase.c
	3. printArray.c

	The students will also create a defs.h which will contain the other 
	#include statement(s), prototypes, and #define or constants.


*/


#include "defs.h"


/* ------------------------------------------------------------ */
/* prints the contents of the array sent in 
   parameters:  the array and the number of lines to print
	return:  none  
*/
void printArray(char text[MAX_LINE][MAX_LINE_LEN], int lines) {
	for (int i = 0; i < lines; i++) {
		printf("%s", text[i]);
	}
}
/* ------------------------------------------------------------ */


