Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Game Challenge

I have to do this for the beginning of my program and I'm completely new. Please help me.

Your game should have a league of 8 teams. Have a simple menu of choices (add teams, delete
teams, run a season, run a road trip schedule).
2) At beginning of main.cpp - using comments, outline your program, listing what algorithms you used
and why you chose them

This is what I have so far:
//#include "stdafx.h"
#include
#include
#include

using namespace std;

//void game_result(string, string, int, int, double);

//Function Prototypes
int getAddTeamChoice();
int getDeleteTeamChoice();
int getRunSeasonChoice();
int getRunRoadtrip();
int getExit();
void display(string,string);


int main(void) {

int x=0;
int choice;

//string addTeam(x);
//string deleteTeam(x);

do
{

choice = addTeamChoice();

if(choice == 1)
{
addTeamChoice();
}

return 0;
}

int getDeleteTeamChoice()
{

int choice;
}

while(choice != 4) {
switch(choice) {
case 1:
printf("Choice was 1...
");
break;
case 2:
printf("Choice was 2...
");
break;
case 3:
printf("Choice was 3...
");
break;
default:
printf("Invalid choice...
");
break;
}
}
}









}








}
Sign In or Register to comment.