I'm not able to do a random enumerator.
enum Notas {A=10, B=22, C=31, D=44, E=56};
It has this solution, but I need the enumerator values and here it is returning the rest of the calculation.
enum Notas {A=10, B=22, C=31, D=44, E=56, ULTIMO};
int teste = static_cast<Notas>(rand() % ULTIMO);