Unformatted text preview: statements has been tested (Venit, 2004, p. 45). This is not a difficult process. I could use any of the three control structures to reach this result, but I would choose the sequential structure. The sequential structure will make things simple, because it does not involve complexities like branch point statements in the simple process of sandwich-creation (Venit, 2004, p. 45). Thos algorithm will carry out some statements, and then end. All together, deciding on the right control structure to create a peanut butter sandwich can be direct and easy. From the sequential, loop, and decision structures, all of them will eventually solve the problem. Reference Venit, S. (2004). Extended prelude to programming: Concepts and design (2 nd ed). Boston: Scott/Jones....
View Full Document
- Spring '10
- Algorithms, Peanut butter sandwich, vēnit