#include #include #include #include #include using namespace std; int main(void) { float time_left; int play_prob, down, yards_to_go, yards_to_TD, player_score, computer_score; /* initialize random seed:*/ srand( time(NULL) ); //keep command line up and running while(1) { //user enters time cout<<"Please enter time"<>time_left; //user enters down cout<<"Please enter down"<>down; //user enters yards to go cout<<"Please enter yards to go"<>yards_to_go; //user enters yards to go cout<<"Please enter yards to TD"<>yards_to_TD; //user enters player score cout<<"Please enter player score"<>player_score; //user enters computer score cout<<"Please enter computer score"<>computer_score; switch(down) { case 1: case 2: case 3: if(yards_to_TD <= 1 && down != 2) //RULE 1 cout<<"Call Run Play"<= 5)) //RULE 3 cout<<"Call Pass Play"<