I have four conditions that must be met together.
if (condition 1) { operator 1 };
if (condition 2) { operator 2 };
if ((condition 1) && (condition 2)) { operator 1; operator 2; };
if ((condition 2) && (condition 1)) { operator 2; operator 1; };
But in such kind is repeated execution. How to combine these conditions are to avoid repeating the execution of the operators?
Aucun commentaire:
Enregistrer un commentaire