I not able get the logic on computerchoice!


#1



Replace this line with your code. 
I am not able to get how to add statement for the variable if it is in between 0.67 and zero,
because even 0.23 is less than .66 so it might end up in the second statement( not tthe first of 0 to 0.33)


#2

Think in terms of a fraction. 1/3, 2/3, 3/3 (though we won't need the whole one).

// let c = computerChoice for brevity

var c = computerChoice;
if (c < 1/3) {
    // 'rock'
} else
if (c < 2/3) {
    // 'paper'
} else {
    // 'scissors'
}