Outline

For the exercise for this section, you'll be determining the output of 5 comparisons. You can use a console method to output the result to the console to check your answers. Here are the 5 comparisons you need to answer:

const anchoviesPizzaScore = 0;
const pepperoniPizzaScore = 4;
const hawaiianPizzaScore = 4;
const chickenBaconRanchPizzaScore = 6;

// Determine the output of each of the following comparisons

// 1. anchoviesPizzaScore < pepperoniPizzaScore

// 2. chickenBaconRanchPizzaScore > hawaiianPizzaScore

// 3. hawaiianPizzaScore > pepperoniPizzaScore

// 4. pepperoniPizzaScore <= chickenBaconRanchPizzaScore

// 5. hawaiianPizzaScore >= pepperoniPizzaScore

Once you're done, go on to the next video where we will review each step.

Click here to go to the exercise.

 

I finished! On to the next chapter