Considere el siguiente diagrama de clases. Dueño - Nombre : string - Nromascotas: int - M [ 2,30] - V [ 30] b. Ordenar las mascotas por el año de vacunas.
++ class Owner{ string Name; int Nromascotas; Mascotas * M[30]; Vacunas ** V[30]; public: void Order(){ for (int i = 0; i < 30; i++){ for (int j = 0; j < 29; j++){ if(V[j]->anio > V[j+1]->anio){ Vacunas * aux; aux = V[j]; V[j] = V[j+1]; V[j+1] = aux; } } } } };