Answer:
The answer is B.
Explanation:
The question is incomplete, here is the full question:
Analyze the following code.
boolean even = false;
if (even) {
System.out.println("It is even!");
}
A. The code is wrong. You should replace if (even) with if (even == true).
B. The code displays nothing.
C. The code displays It is even!
D. The code is wrong. You should replace if (even) with if (even = true).
The above code does not display anything when run because the boolean variable even is false and it does not satisfy the if statement.
I hope this answer helps.
If there is an about page where it tells whom made the website, as well as a copyright 2016 on the bottom of the page. This basically means the website is useful and updated by the creators. Another factor which the site doesnt always need but if it has an https at the beginning of the url then it should be good and valid because that means the site is secured. Also factor in the sections where articles are present, if they have a date and an author towards the bottom or top of the article, then it can be trusted as well. Theres a lot more you can look for in a site and validating if it is an okay site but these are a few examples. Hope this helped!:)
Seems nice I mean yeah its be fine
All of the above A, look up Info, B, get pictures and print, C, webpage is on the internet or computer hope this helps ~Vanessa
Adam might have forgotten to loop the guessing code, meaning that instead of letting him guess multiple times, it simply does it once and ends the program. This could be fixed by adding a while loop, or something of the sort, that doesn't let the user finish the program until they guess the number correctly, while adding to the variable that stores the number of guesses each loop.