Planned Phrase: Candy is on chair outside.

Solve the code segments in order to get the prize!

int x = 56/10*5*4;

if (x<10){
    System.out.println("extra credit");
}
else if (x<= 50){
    System.out.println("apple");
}
else if (x > 50 &&  x <= 100){
    System.out.println("candy");
}
else if (x > 100 &&  x <= 115){
    System.out.println("chocolate");
}
else if (x > 115 &&  x <= 150){
    System.out.println("dinero");
}
candy
public static void main(String [] args) {
    String[] words = {"and", "more", "is", "also", "plus"};
    answer(words);
    System.out.println(answer(words));
}

public static String answer(String words[]) {
    String first = words[0];
    for (int i = 1 ; i < words.length ; i++) {
        if ((words[i].compareTo(first)) < 0) {
            first = words[i];
        }
    } 
    return first;
}
// x is true, y is false
if (!(x||y) || (x && y)) {
    System.out.print("on")
}
if (!(x&&y) && (x || y)) {
    System.out.print("under")
}
else {
    System.out.print("in")
}
int x = 10;
if (x*3 <= 30) {
    x++;
}
if (x > 31) {
    x += 4;
}
System.out.print(x);

A. 11 (chair) B. 15 (backpack) C. 31 (table) D. error (floor)

Items whose value does not change are called...

A. variable (Mr.M's desk) B. stay-same (bathroom) C. literal (outside) D. unvariable (hetvi's backpack)