Android IDE (AIDE) Support Forum

JS If-Else Statements

I can’t understand what I have to do in this lesson.

1 Like

you need to assign a value to the min variable in the if else statement, so on lines 8 and 13. The if statement in plain english says if a is less than b, the value for a is 2000 and the value for b is 1000

so if line 8 is min = a;
line 13 is min = ?

Tip: In the lesson instructions certain stuff is written in bold for a reason its basically a clue on what your code will need to contain to pass the lesson. Next time press the blue arrow before taking a screenshot it doesn’t matter on this lesson but it covers up the code.

3 Likes

min = a;

13 th line

min = b;

1 Like