/* This program prompts the user to enter an integer
* and then determines whether the integer is between 4-6. */
start();
function start(){
var int = readFloat("Enter an integer to print in this program: ");
println("An integer from 5-6 is entered (True/False)");
if(int <= 6 || int == 4){
println("True: " + int + " was entered.");
}else{
println("False: " + int + " was entered.");
}
}
... If this isn't what you were looking for, I apologize. I'm uncertain on what you really need help with, your question isn't quite clear... I answered to the best of my ability in simple js.
edit: brainly deletes my indents... just make sure to indent properly :-)