0
Help with control flow
prompt the user for a number that is greater than 100 but less than 2000 and store this as a variable named user. write a statement that checks to see if user is greater than 100 and less than 2000 if it is then it should assign message1 to a variable named result. if it is not the it should asssign message2 instead. also: user should be a number, try using the parseInt() function. make sure you have an if statement your if statement should have an else attached to it.â) finish the challenge by passing the true clause.) i need to edit: var message1= âyou are amazingly correct!â; var message2=âawww, it looks like that number is not correct. try again!â; please help im stuck
4 Answers
0
I suggest you to read js tutorial because this is very elementary
https://www.sololearn.com/Course/JavaScript/?ref=app
0
Sorry, didn't understand what the problem is. Could you explain?
0
hi guys thank you, do i finish the challenge by passing the true clause?
0
Following the assignment you posted, you first need to get the user input, store it and check if it's in range 100 - 2000