IT 511 Stepping Stone One

.docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

IT-511-Q24

Subject

Information Systems

Date

Jan 9, 2024

Type

docx

Pages

2

Uploaded by emmemaria28

Report
CREATE new object recipeTitles from RecipeBox WHILE user is on user menu System print: DISPLAY 1: Enter new recipe DISPLAY 2: View, edit or delete existing recipes DISPLAY 3: Exit READ selection from user IF user_selection is DISPLAY 1 THEN Scnr function for user input READ from user recipeName READ from user servingSize READ from user recipeIngredients from ingredient list READ from user TotalRecipeCalories WHILE entering ingredients READ from user numberCups READ from user numberCaloriesPerCup READ from user nameofIngredient CREATE current_ingredient INSERT current ingredient to recipeIngredients list INSERT newRecipe from user_selection into recipeCollection END ELSEIF user_selection selects DISPLAY 2 THEN CALL recipeCollection.printAllRecipeName s to show all recipes in collection READ from user the recipeName to view IF the recipe is valid THEN CALL selected_recipe.printRecipe to show all ingredients DISPLAY to user option to edit recipe IF user_selection is edit THEN CALL selected_recipe.getRecipeIngredients from Ingredients list SAVE ingredients list as current_ingredients MODIFY current_ingredients
CALL selected_recipe.setRecipeIngredient(current_ingredients) ELSE user selected not to edit Program DO nothing IF user_selection is delete THEN CALL r ecipeCollection.printAllRecipeNames to show all recipes in collection READ from user the recipeName to view IF the recipe is valid THEN DELETE based off user_selection ELSE user selected not to edit Program DO nothing END
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help