wats wrong with this code?
Code:
void blue(int q,int r, int s, int t, int u)
{int a;
clrscr();
printf("\n\n\t\t\tThe players of Team Blue:");
printf("\n\n\n\t\t\t %d",q);
printf("\n\n\n\t\t\t %d",r);
printf("\n\n\n\t\t\t %d",s);
printf("\n\n\n\t\t\t %d",t);
printf("\n\n\n\t\t\t %d",u);
printf("\n\n\n\t\t\tWhich player has the ball?");
printf("\n\n\n\t\t\tEnter the number of the player: ");
scanf("%d",&a);
if(a==1)
one();
getch();
}
void green(int v,int w, int x, int y, int z)
{printf("%d,%d,%d,%d,%d", v,w,x,y,z);
}
void one()
{
int a ;
int x[20];
printf("\n\n\n\t\tPlayer number 1 of Team Blue has shoot the ball.");
printf("\n\n\n\t\t\t1- one point for free throws");
printf("\n\n\t\t\t2- two points for lay-up shot");
printf("\n\n\t\t\t3- for three point shot");
printf("\n\n\n\t\t\tEnter a score: ");
scanf("%d", &a);
scores();
getch();
}
it ends with choosing the number of the player.....