#include using namespace std; #include "Conjunto.h" int main () { Conjunto conjunto; try { for (int dato : {40, 20, 80, 10, 60, 70, 90, 30, 50}) conjunto.insertar(dato); for (int dato : {40, 80, 90, 20, 10, 60, 50, 70, 30}) { conjunto.eliminar(dato); conjunto.eliminar(dato + 5); } cout << "Todo eso va bien." << endl; } catch(string error) { cout << error << endl; } }