/*	Elizabeth Brown
	Due: March 31, 2023
	Lab 9 - Structures
	Section 002
	Description: Using structures, and prototypes to take input 
	from a file and user to create a table for workouts.
*/


#ifndef DEFS_H
#define DEFS_H

//Structure
typedef struct exercise {
   char name[20];
   char muscles[40];
   int weight;
	int time;
	int sets;
	int reps;

} exercise;

//Include statements
#include <stdio.h>
#include <string.h>

//Prototypes
void initArray(int arraySize, exercise workout[], FILE *inFile);
void printArray(int arraySize, exercise workout[]);
void getWorkout(int arraySize, exercise workout[]);

#endif
