If this code runs, what will be printed out? You can assume the variable x equals Q1xValue The correct answer is Q1Solution
if (x<20){
System.out.println("STATEMENT 1");
else if(x <25){
System.out.println("STATEMENT 2");
}else{
System.out.println("STATEMENT 3");
}
There are no hints for this question
If this code runs, what will be printed out? You can assume the variable x equals Q2Solution
if (x<20){
System.out.println("STATEMENT 1");
}
if (x>50){
System.out.println ("STATEMENT 2");
}else{
System.out.println("STATEMENT 3");
}
if(x>90){
System.out.println("STATEMENT 4");
}
There are no hints for this question
If this code runs, what will be printed out? You can assume the variable x equals Q3xValue
if (!x){
print("STATEMENT 1");
else{
print("STATEMENT 2");
}
There are no hints for this question