#include <iostream> using namespace std; class Nums{ public: int n; int *a; Nums(int n, int *a){ this->n = n; this->a = new int[this->n]; for(int i=0; i<this->n; i++){ this->a[i] = a[i]; } } ~Nums(){ ...