Template<typename T> T Choose(T x, T y, T z) { //What code do i write so that when Choose() is called it would randomly // return x y or z? return; }
For example if x=2, y=ten and z=4 then it would chose neither 2, ten or 4 to return
Aucun commentaire:
Enregistrer un commentaire