EXERCISES

5. 5. Logical Operators

Write a program that checks whether a number entered by the user is between 10 and 50 (inclusive).
Use:

  • >=, <=

  • and