lundi 16 mars 2015

conditions for multiple variables in while loop c++


Im trying to get my while loop to show "Invalid input" For a while loop for 3 variables. Im just starting out with c++ so im not the best at trying to show what i need but here it is in my terms.



while(children1,children2,children3)<1||(children1,children2,children3)>100)
cout << "invalid input"; return 0;



Aucun commentaire:

Enregistrer un commentaire