int prod(1); for (int m=1 ;m <= 9; m++){ prod *= m; m += 2; }
// this equals 28 // Can somebody explain the steps C++ takes to get 28
Aucun commentaire:
Enregistrer un commentaire