JavaScript: Check whether three given integer values are in the range 50..99
JavaScript Basic: Exercise-29 with Solution
Check if Three Integers are in Range 50–99
Write a JavaScript program to check whether three given integer values are in the range 50..99 (inclusive). Return true if one or more of them are in the specified range.
This JavaScript program checks if any of three given integers fall within the range of 50 to 99 (inclusive). It evaluates each integer to see if it is within this range and returns true if at least one of the integers meets the condition.
Visual Presentation:

Sample Solution:
JavaScript Code:
Output:
true false true true
Live Demo:
Flowchart:

ES6 Version:
For more Practice: Solve these Related Problems:
- Write a JavaScript program that checks if all three given integers fall within the range 50 to 99 (inclusive).
- Write a JavaScript program that validates three integers and returns true if at least two are in the range 50..99.
- Write a JavaScript program that accepts three numbers and outputs which ones are within the 50 to 99 range, if any.
Improve this sample solution and post your code through Disqus.
Previous: JavaScript program to check if two given integer values are in the range 50..99
Next: JavaScript program to check if a string "Script" presents at 5th (index 4) position in a given string,
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics