Java tutorial
Java Booleans
A boolean is either true or false. Comparisons such as >= produce a boolean, and && means both sides must be true. || means either side can be true.
Edit the code and run it again. This runner stays in your browser and covers the syntax used in these lessons.
Output
Run the example to see output here.
What this code does
76 is at least 50, so passed is true. The second line is also true because the score passed and is still below 100.