samedi 2 avril 2016

Function which removes integer whose digits are of the same parity

Can anyone help me with the following: how to make a function which from vector of integers finds and removes all numbers whose digits are of the same "parity" (eg. 351, 246) but without the usage of helping vectors, arrays and without the use of function("erase") or functions from "algorithm" bibl.?

Aucun commentaire:

Enregistrer un commentaire