Thursday, September 20, 2012

1.Examine the algorithm above. What twoproperties of the algorithm enable it to correctly describe the solution to the problem of making a cup of coffee? What is it that makes an algorithm correct?(Hint: what would happen if you swapped step "6" and step "2"?)

1.Specific2.correct sequence

Swapping steps would change th end product and this case it wouldn't work at all.