I. Imagine that you wish to write program code to accomplish three tasks: output
I. Imagine that you wish to write program code to accomplish three tasks: output a user’s fortune based on which color they input as their favorite; end or continue to run the program depending on a user’s input; and greet a user with “Good morning!” or “Good afternoon!” depending on the time of day option they input. Which control structure would you choose for each of these tasks? Justify your choice. APA style…
Leave a Reply