/* CSC 101        Fall 2013     */
/* Program 02     header file   */
/* Alex Dekhtyar                */


#define NUM_OPTIONS 7   /* number of menu options */

void printWelcome(double money);  /* welcome message */
int  menu(double money);                      /* menu of game actions */
void printPlantings(int fields[][BOUNDARY]); /* display a map of current plantings */
double addField( int fields[][BOUNDARY], double moneyLeft); /* add a field to the planting */
double removeField( int fields[][BOUNDARY], double moneyLeft); /* remove a field from the planting */

void printPlantingCosts();  /* print a map of planting costs */
void printYields();  /* print a map of projected yields      */
void printQuality();  /* print a map of harvest quality      */
void printProfit();  /* print a map of projected profit      */


double getPlantingProfit(int fields[][BOUNDARY]);  /* compute profit of a planting  */
double getRevenue(int fields[][BOUNDARY]);        /* compute revenue of a planting */
int    countPlantings(int fields[][BOUNDARY]);    /* compute number of fields in a plantings   */
int    findMaxDays(int fields[][BOUNDARY]);       /* compute longest number of days in a planting */

void printFields(int fields[][BOUNDARY]);         /* output the list of fields in the planting */