#include using namespace std; const int ARR_CAPACITY = 100; void add_element (int *arr, int &size, int value) { if (size < ARR_CAPACITY) { arr[size] = value; size++; } }; void remove_from_back (int *arr, int &size) { if (size > 0) { size--; } } void print (int *arr, int size) { for (int i=0; i