Help control flow | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Help control flow

Control flow Finish the challenge by passing the true clause.) What does this mean?

5th Aug 2018, 9:06 PM
Ashlyn
Ashlyn - avatar
2 Respostas
0
Can you be more specific? I assume the challenge/quiz asks you to choose the statement that returns true.
8th Aug 2018, 11:31 AM
HoĆ ng Nguyį»…n Văn
HoĆ ng Nguyį»…n Văn - avatar
0
Hi my challenge asks me to: 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 on this i was able to figure out everything except the passing of a true clause!
13th Aug 2018, 12:21 PM
Ashlyn
Ashlyn - avatar