Write out the logic to the following problems.
Example: Represent the logic of a decision whether to wear a coat if the temperature is less than 60 degrees Fahrenheit, and not to wear one if the temperature is 60 degrees or greater.
output “Enter temperature: “
if (temperature <60)
output “Wear coat.”
output “Don’t wear coat.”
The post Unit 2 exercise: logic drill 2 | introduction to programming | ECPI University appeared first on Australia Assessments.
Hi there! Click one of our representatives below and we will get back to you as soon as possible.