Im trying to use functions inside functions... this is what i have...
void Init_Keno(int arr[], int size);
void twenty_Num(int arr[], int size);
void disp_Board(int arr[], int size);
int main()
{
srand(time(0));
cout << "Do you want to play a game? Enter y for yes and n for no." << endl;
cin >> Yes, No;
while (Yes == 'y')
{
int KenoArray[81];
Init_Keno(KenoArray, 81);
cout << endl;
twenty_Num(KenoArray, 81);
disp_Board(KenoArray, 81);
cout << "Do you want to play again? Enter y for yes and n for no." << endl;
cin >> Yes, No;
}
return 0;
}
void Init_Keno(int arr[], int size)
{
for (int i=0; i < size ; i++)
{
arr[i]=0;
}
return;
}
void twenty_Num(int arr[], int size)
{
int KenoArray[81];
Init_Keno(KenoArray, 81);