Exam (elaborations)
CMPS 207 Q&A
- Course
- Institution
CMPS 207 Q&A Write a conditional that decreases the variable shelfLife by 4 if the variable outsideTemperature is greater than 90. - ANSWER if(outsideTemperature > 90){ shelfLife = shelfLife - 4; } Write a conditional that assigns 10,000 to the variable bonus if the value of the variable ...
[Show more]