Is it in range? · Est-il dans l'intervalle ?
Is it in range?
n is 14. Print yes when n is both more than 10 and less than 20. Print no otherwise.
and needs both sides to be true. Write each side as a complete question: n > 10 and n < 20, not 10 < n < 20 and.
Est-il dans la plage ?
n vaut 14. Afficher yes lorsque n est à la fois supérieur à 10 et inférieur à 20. Afficher no sinon.
and nécessite que les deux côtés soient vrais. Écrire chaque côté comme une question complète : n > 10 and n < 20, pas 10 < n < 20 and.
n is 14. Print yes when n is both · les deux more than 10 and less than 20. Print no otherwise. · n vaut 14. Afficher yes lorsque n est à la fois supérieur à 10 et inférieur à 20. Afficher no sinon.
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.