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 ответов
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