Encapsulating Pseudocode

Take your original pseudocode and encapsulate a step using the examples from this chapter. Don’t forget to use indentation to denote a control statement.