Write a conditional that decreases the variable shelfLife by 4 if the variable outsideTemperature is greater than 90 .
LANGUAGE: C++
CHALLENGE:
Write a conditional that decreases the variable shelfLife by 4 if the variable outsideTemperature is greater than 90.
SOLUTION:
if(outsideTemperature > 90){ shelfLife = shelfLife - 4; }