The context of the program is a game involving pegs and discs. The user inputs the amount of pegs (max of 20) and the amount of discs on each peg (max of 10). Two players go
bool checkPegs(int array[], int size) { for (int i = 0; i < size; i++) { if(array[i] != 0) { return false; } } return true; }