9. how does it chose to print W or L


#1

what tells it that W is win and L is lose?


#2

can you paste the code here so we can see


#3

int pointsScored = 21;

char gameResult = (pointsScored > 20) ? 'W' : 'L';
System.out.println(gameResult);


#4

char gameResult = (pointsScored > 20) ? 'W' : 'L';

^^ this statement is called a ternary statement, you should read it like this

is pointsScored greater than 20? if it is then return W (win) , if it is not then return L (lose)

the general form is

(condition)? ifYes: ifNo


#6

The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.


#7

The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.
The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.


#8

The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.
The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.
The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled. The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.The thing is that i dont wan't to get loled.


#9

Its like when someone gets loled so the thing is that the ? is if and : is um um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um umum um um.


#10

you're a ■■■■■■ ■■■■ are you writing


#11

this is a conditional statement it actually doesn't see that its lose or win if the condition given for example in your case is (pointsScored > 20) if this statement is true it will return the first variable or option , over here 'W' if its not true than the second option that is 'L'. so, it doesn't see whats what but returns conditions.
i hope this helps!


#12

that will write "W" because its true

W-true
L-false