// Programmer: Clayton Price date: 3-16-14
// File: h5.h
// Purpose: this file contains the header info for the program that will
// predict the winner of a fruit-rolling race.
#ifndef H5_H
#define H5_H
using namespace std;
// a string to establish the user of the program.
const string USER = "Ralph";
// this constant establishes the max allowable fruit wt
const float MAX_FRUIT_WT = 2000; // lbs
// the greet() funciton will output a greeeting message to the user.
// Pre: none
// Post: a message output to the screen.
void greet();
// the get_fruit_names() funcction will prompt/readin strings for two fruits.
// Pre: none
// Post: reference parameters passed will contain meaningful values.
void get_fruit_names(string & f1,string & f2);
// the get_fruit_wts() function will prompt/readin values for wts of fruits.
// Pre: none
// Post: two reference parameters will have meaningful (positive) values.
void get_fruit_wts(float & wt1, float & wt2);
// the judge_race() function will identify the heavier pair of fruit and
// fruit weight and output that tot he screen.
// Pre: none
// Post: greater of wt/fruit pair output to the screen.
void judge_race(const string name1,const float wt1, const string name2,const
float wt2);
// the goodbye() function will output a exiting message to the user.
// Pre: none
// Post: message output to the screen.
void goodbye();
#endif