Unformatted text preview: are separate paths to follow if the data is true or false. Case structure's (“Multiple-alternative structures"), have more than two block statements and when a condition is met it will follow that path and pass the other two block statements. Dual-Alternative Structure Input Cost Write "Enter total revenue:" Input Revenue Set Amount = Revenue - Cost If Amount > 0 Then Set Profit = Amount Write "The profit is $" + Profit Else Set Loss = -Amount Write "The loss is $" + Loss End If...
View Full Document
- Fall '08
- Computer Architecture, English-language films, American films, dual alternative structures, single alternative structures