IT 511: Object Oriented App Develop
Southern New Hampshire University
08:35:02 GMT -05:00
Stepping Stone Lab Four: Loops IT 511: Object Oriented App Develop Southern New Hampshire University 08:35:02 GMT -05:00 Code Reflection The purpose of this code lab is to utilize the for loop function, the branch structure, and the array to store the list of ingredient names added by the user. The user is allowed to add ingredients until they indicate that they are done, and the program then iterates through the ingredient list to print the ingredients. Initially, I created multiple if-else branches to prompt the user to enter 'n' or 'y'. Then, re-prompt again if the user inputted other than 'n' or 'y' was received. One challenge was creating an if-else branch within another if-else branch, which resulted in the code failing to re-prompt the user to re-enter 'n' or 'y'. I revisited the relevant material in the zyBooks to address this issue to reinforce my understanding of multip
Truly helpful study guides
Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.
Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.
Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.
“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”