Hoe to submit a final collection manager program? - Programming
In this module, you will submit the final project, the collection manager program responding the recipe scenario.As you prepare your final project, be sure to use feedback from your instructor to revise your work from the final project milestones. You will also need to add a driver application to the program, such as the one you developed in Stepping Stone Lab Six.Note, too, that the final project requires two types of documentation not included in earlier stepping stones or the final project milestones:Inline comments directed toward software engineers about design decisions to facilitate the programs ongoing maintenanceApplication programming interface (API) documentation for your programmatic solution directed toward other software developersTo complete this assignment, review the Final Project Guidelines and Rubric document. stepping_stone_lab_two__data_types.docx stepping_stone_lab_three__branches.docx steppingstone_recipebox.docx steppingstone_recipe.docx Unformatted Attachment Preview /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package SteppingStones; import java.util.Scanner; public class Ingredient { private String ingredientName = ,unitMeasurement = ; double ingredientAmount = 0.0; int numberCaloriesPerCup = 0; double totalCalories = 0.0; public Ingredient addNewIngredient(String ingredientName) { this.ingredientName = ingredientName; return this; } public String getIngredientName() { return ingredientName; } public void setIngredientName(String ingredientName) { this.ingredientName = ingredientName; } public String getUnitMeasurement() { return unitMeasurement; } public void setUnitMeasurement(String unitMeasurement) { this.unitMeasurement = unitMeasurement; } public double getIngredientAmount() { return ingredientAmount; } public void setIngredientAmount(double ingredientAmount) { this.ingredientAmount = ingredientAmount; } public int getNumberCaloriesPerCup() { } return numberCaloriesPerCup; public void setNumberCaloriesPerCup(int numberCaloriesPerCup) { this.numberCaloriesPerCup = numberCaloriesPerCup; } public double getTotalCalories() { return totalCalories; } public void setTotalCalories(double totalCalories) { this.totalCalories = totalCalories; } /* public static void main(String[] args) { String nameOfIngredient = , unitMeasurement = ; double ingredientAmount = 0.0; int numberCaloriesPerCup = 0; double totalCalories = 0.0; Scanner scnr = new Scanner(System.in); System.out.println(Please enter the name of the ingredient: ); nameOfIngredient = scnr.next(); System.out.println(Please enter the mesurement unit: ); unitMeasurement = scnr.next(); System.out.println(Please enter the number of + unitMeasurement + of + nameOfIngredient + well need: ); ingredientAmount = scnr.nextFloat(); System.out.println(Please enter the name of calories per cup: ); numberCaloriesPerCup = scnr.nextInt(); //expression that multiplies the number of units by the Calories per unit. totalCalories = ingredientAmount * numberCaloriesPerCup; System.out.println(nameOfIngredient + uses + ingredientAmount + + unitMeasurement + and has + totalCalories + calories.); } }*/ /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package SteppingStones; import java.util.Scanner; public class SteppingStone3_Branches { public static void main(String[] args) { int numberCups = -1; /** * Add a CONSTANT variable MAX_CUPS assigned to the value 100 */ Scanner scnr = new Scanner(System.in); System.out.println(Please enter the number of cups (between 1 and 100): ); //The following if branch uses the scanner method hasNextInt() to //check to see if the input is an int. if (scnr.hasNextInt()) { numberCups = scnr.nextInt(); /**NESTED BRANCH: * Insert a nested branch that follows the following pattern: * * if numberCups is greater than or equal to MAX_CUPS: * print numberCups + is a valid number of cups! * * else: * print numberCups + is a not valid number of cups! * print Please enter another number of cups between 1 and 100: * numberCups = scnr.nextInt(); * * if numberCups is greater than or equal to MAX_CUPS: * print numberCups + is a valid number of cups! * * else if numberCups < 1: * print numberCups + is less than 1. Sorry you are out of * attempts. * * * else * print numberCups + is greater than 100. Sorry you are out of * attempts. * */ } int MAX_CUPS = 0; if (numberCups >= MAX_CUPS) { System.out.println(numberCups + is a valid number of cups!); } else { System.out.println(numberCups + is not a valid number of cups!); } System.out.print(Please enter another number of cups between 1 and 100: ); numberCups = scnr.nextInt(); if (numberCups >= MAX_CUPS){ System.out.println(numberCups + is a valid number of cups!); } else if(numberCups < 1) { System.out.println(numberCups + is less than 1. Sorry you are out of attempts.); } else { System.out.println(numberCups + is greater than 100. Sorry you are out of attempts.); } } } /** * * For your Final Project, adapt your Ingredient java file to include * data type validation steps for each of the variables in the class: * * ingredientName (String) * ingredientAmount (float) * unitMeasurment (String) * number of Calories (double) * */ package SteppingStones; import java.util.ArrayList; import java.util.Scanner; public class SteppingStone6_RecipeBox { /** * Declare instance variables: a private ArrayList of the type * SteppingStone5_Recipe named listOfRecipes * */ private ArrayList listOfRecipes = new ArrayList(); /** * accessor and mutator for listOfRecipes * */ public ArrayList getListOfRecipes() { return listOfRecipes; } public void setListOfRecipes(ArrayList listOfRecipes) { this.listOfRecipes = listOfRecipes; } /** * constructors for the SteppingStone6_RecipeBox() */ public SteppingStone6_RecipeBox() { } public SteppingStone6_RecipeBox(ArrayList listOfRecipes) { this.listOfRecipes = listOfRecipes; } /** * custom methods: * * //printAllRecipeDetails(SteppingStone5_Recipe selectedRecipe) This * method should accept a recipe from the listOfRecipes ArrayList recipeName * and use the SteppingStone5_Recipe.printRecipe() method to print the * recipe */ public void printAllRecipeDetails(String selectedRecipe) { boolean isFound =false; for (SteppingStone5_Recipe recipe : this.listOfRecipes) { if (recipe.getRecipeName().equalsIgnoreCase(selectedRecipe)) { recipe.printRecipe(); isFound =true; break; } } if(!isFound){ System.out.print(selectedRecipe + was not found\n); } } /** * //printAllRecipeNames() <-- This method should print just the recipe * names of each of the recipes in the listOfRecipes ArrayList */ public void printAllRecipeNames() { System.out.println(Recipe Names: \n); if (listOfRecipes.isEmpty()) { System.out.println(Recipe Box Is empty); } else { for (int j = 0; j < listOfRecipes.size(); j++) { System.out.println((j + 1) + : + listOfRecipes.get(j).getRecipeName()); } } } /** * //addRecipe(SteppingStone5_Recipe tmpRecipe) <-- This method should use * the SteppingStone5_Recipe.addRecipe() method to add a new * SteppingStone5_Recipe to the listOfRecipes * */ public void addRecipe(SteppingStone5_Recipe tmpRecipe) { tmpRecipe.addRecipe(); } public void newRecipe() { SteppingStone5_Recipe tmpRecipe = new SteppingStone5_Recipe(); } addRecipe(tmpRecipe); listOfRecipes.add(tmpRecipe); /** * A variation of following menu method should be used as the actual main * once you are ready to submit your final application. For this submission * and for using it to do stand-alone tests, replace the public void menu() * with the standard public static main(String[] args) method * */ public static void main(String[] args) { // Create a Recipe Box SteppingStone6_RecipeBox myRecipesBox = new SteppingStone6_RecipeBox(); //Uncomment for main method Scanner menuScnr = new Scanner(System.in); /** * Print a menu for the user to select one of the three options: * */ System.out.println(Menu\n + 1. Add Recipe\n + 2. Print All Recipe Details\n + 3. Print All Recipe Names\n + 4. Quit \n + \nPlease select a menu item:); while (menuScnr.hasNextInt() || menuScnr.hasNextLine()) { //System.out.println(Menu\n + 1. Add Recipe\n + 2. Print All Recipe Details\n + 3. Print All Recipe Names\n + \nPlease select a menu item:); int input = menuScnr.nextInt(); /** * The code below has two variations: 1. Code used with the * SteppingStone6_RecipeBox_tester. 2. Code used with the public * static main() method * * One of the sections should be commented out depending on the use. */ /** * This could should remain uncommented when using the * SteppingStone6_RecipeBox_tester. * * Comment out this section when using the public static main() * method */ /* if (input == 1) { newRecipe(); } else if (input == 2) { System.out.println(Which recipe?\n); String selectedRecipeName = menuScnr.next(); printAllRecipeDetails(selectedRecipeName); } else if (input == 3) { for (int j = 0; j < listOfRecipes.size(); j++) { System.out.println((j + 1) + : + listOfRecipes.get(j).getRecipeName()); } } else { System.out.println(\nMenu\n + 1. Add Recipe\n + 2. Print Recipe\n + 3. Adjust Recipe Servings\n + \nPlease select a menu item:); }*/ /** * This could should be uncommented when using the public static * main() method * * Comment out this section when using the * SteppingStone6_RecipeBox_tester. */ if (input == 1) { myRecipesBox.newRecipe(); } else if (input == 2) { System.out.println(Which recipe?\n); String selectedRecipeName = menuScnr.next(); myRecipesBox.printAllRecipeDetails(selectedRecipeName); } else if (input == 3) { myRecipesBox.printAllRecipeNames(); }else if(input== 4){ System.exit(0); } else { System.out.println(\nMenu\n + 1. Add Recipe\n + 2. Print Recipe\n + 3. Adjust Recipe Servings\n + 4. Quit \n + \nPlease select a menu item:); } System.out.println(); System.out.println(Menu\n + 1. Add Recipe\n + 2. Print All Recipe Details\n + 3. Print All Recipe Names\n +4. Quit \n + \nPlease select a menu item:); } } } /** * * Final Project Details: * * For your final project submission, you should add a menu item and a method to * access the custom method you developed for the Recipe class based on the * Stepping Stone 5 Lab. * */ package SteppingStones; import java.util.ArrayList; import java.util.Scanner; /** * @author snhu.edu */ public class SteppingStone5_Recipe { /* * Set up the variables with their mutators and constructors. * */ private String recipeName; private int servings; private ArrayList recipeIngredients = new ArrayList(); private double totalRecipeCalories; public SteppingStone5_Recipe() { this.recipeName = ; this.servings = 0; // <--- assignment value with appropriate data type this.recipeIngredients = new ArrayList<>(); // <-- assignment value for empty ArrayList this.totalRecipeCalories = 0; } public SteppingStone5_Recipe(String recipeName, int servings, ArrayList recipeIngredients, double totalRecipeCalories) // <-- use appropriate data type for the ArrayList and the servings arguments { this.recipeName = recipeName; this.servings = servings; this.recipeIngredients = recipeIngredients; this.totalRecipeCalories = totalRecipeCalories; } /** * The following outputs have been created to generate the recipe name, * servings, and the total calories. * * @param createNewRecipe */ public void addRecipe() { double totalRecipeCalories = 0; ArrayList recipeIngredients = new ArrayList(); String ingredientName = , unitMeasurement = ; boolean addMoreIngredients = true; Scanner scnr = new Scanner(System.in); System.out.println(Please enter the recipe name: ); // correct data tup and Scanner assignment method used for recipeName variable. String recipeName = scnr.nextLine(); System.out.println(Please enter the number of servings: ); // correct data type & Scanner assignment method for servings variable int servings = scnr.nextInt(); /** * The following loop has been constructed to generate the list of ingredients * that will be put in the recipeIngredients array. */ do { System.out .println(Please enter the ingredient name or type end if you are finished entering ingredients: ); ingredientName = scnr.next(); if (ingredientName.toLowerCase().equals(end)) { addMoreIngredients = false; } else { /** * Add the ingredient name to recipeIngredients * */ Ingredient newIng =new Ingredient(); newIng.addNewIngredient(ingredientName); System.out.println(Please enter the ingredient amount: ); float ingredientAmount = scnr.nextFloat(); newIng.setIngredientAmount(ingredientAmount); System.out.println(Please enter a unit of measurement: ); unitMeasurement = scnr.next(); newIng.setUnitMeasurement(unitMeasurement); System.out.println(Please enter the ingredient Calories: ); int ingredientCalories = scnr.nextInt(); newIng.setNumberCaloriesPerCup(ingredientCalories); /** * Add the total Calories from this ingredient (ingredientCalories * * ingredientAmount) to the totalRecipeCalories * */ totalRecipeCalories += (ingredientCalories * ingredientAmount); newIng.setTotalCalories(totalRecipeCalories); System.out.println(Total recipe calories are: + totalRecipeCalories); } recipeIngredients.add(newIng); } while (addMoreIngredients); SteppingStone5_Recipe recipe1 = new SteppingStone5_Recipe(recipeName, servings, recipeIngredients, totalRecipeCalories); this.setRecipeName(recipeName); this.setServings(servings); this.setRecipeIngredients(recipeIngredients); this.setTotalRecipeCalories(totalRecipeCalories); printRecipe(); } public String getrecipeName() { return recipeName; } public int getServings() { return servings; } public void setServings(int servings) { this.servings = servings; } public ArrayList getRecipeIngredients() { return recipeIngredients; } public void setRecipeIngredients(ArrayList recipeIngredients) { this.recipeIngredients = recipeIngredients; } public double getTotalRecipeCalories() { return totalRecipeCalories; } /* * Below the print recipe method has been added. It will print hte recipe name, * servings, and recipe ingredients. */ public void setTotalRecipeCalories(double i) { this.totalRecipeCalories = i; } public void printRecipe() { int singleServingCalories = (int) (totalRecipeCalories / servings); /** * Print the following recipe information: Recipe: <> Serves: * <> Ingredients: <> <> ... <> * * Each serving has <> Calories. * * HINT --> Use a for loop to iterate through the ingredients */ System.out.println(Recipe + recipeName); System.out.println(Serves + servings); System.out.print(Ingredients Name:); for (int i = 0; i < recipeIngredients.size(); i++) { System.out.print( + recipeIngredients.get(i).getIngredientName()); } System.out.println(); System.out.println(Each serving has + singleServingCalories + calories.); } /** * @return the recipeName */ public String getRecipeName() { return recipeName; } public void setRecipeName(String recipeName) { this.recipeName = recipeName; } } ... Purchase answer to see full attachment
CATEGORIES
Economics Nursing Applied Sciences Psychology Science Management Computer Science Human Resource Management Accounting Information Systems English Anatomy Operations Management Sociology Literature Education Business & Finance Marketing Engineering Statistics Biology Political Science Reading History Financial markets Philosophy Mathematics Law Criminal Architecture and Design Government Social Science World history Chemistry Humanities Business Finance Writing Programming Telecommunications Engineering Geography Physics Spanish ach e. Embedded Entrepreneurship f. Three Social Entrepreneurship Models g. Social-Founder Identity h. Micros-enterprise Development Outcomes Subset 2. Indigenous Entrepreneurship Approaches (Outside of Canada) a. Indigenous Australian Entrepreneurs Exami Calculus (people influence of  others) processes that you perceived occurs in this specific Institution Select one of the forms of stratification highlighted (focus on inter the intersectionalities  of these three) to reflect and analyze the potential ways these ( American history Pharmacology Ancient history . Also Numerical analysis Environmental science Electrical Engineering Precalculus Physiology Civil Engineering Electronic Engineering ness Horizons Algebra Geology Physical chemistry nt When considering both O lassrooms Civil Probability ions Identify a specific consumer product that you or your family have used for quite some time. This might be a branded smartphone (if you have used several versions over the years) or the court to consider in its deliberations. Locard’s exchange principle argues that during the commission of a crime Chemical Engineering Ecology aragraphs (meaning 25 sentences or more). Your assignment may be more than 5 paragraphs but not less. INSTRUCTIONS:  To access the FNU Online Library for journals and articles you can go the FNU library link here:  https://www.fnu.edu/library/ In order to n that draws upon the theoretical reading to explain and contextualize the design choices. Be sure to directly quote or paraphrase the reading ce to the vaccine. Your campaign must educate and inform the audience on the benefits but also create for safe and open dialogue. A key metric of your campaign will be the direct increase in numbers.  Key outcomes: The approach that you take must be clear Mechanical Engineering Organic chemistry Geometry nment Topic You will need to pick one topic for your project (5 pts) Literature search You will need to perform a literature search for your topic Geophysics you been involved with a company doing a redesign of business processes Communication on Customer Relations. Discuss how two-way communication on social media channels impacts businesses both positively and negatively. Provide any personal examples from your experience od pressure and hypertension via a community-wide intervention that targets the problem across the lifespan (i.e. includes all ages). Develop a community-wide intervention to reduce elevated blood pressure and hypertension in the State of Alabama that in in body of the report Conclusions References (8 References Minimum) *** Words count = 2000 words. *** In-Text Citations and References using Harvard style. *** In Task section I’ve chose (Economic issues in overseas contracting)" Electromagnetism w or quality improvement; it was just all part of good nursing care.  The goal for quality improvement is to monitor patient outcomes using statistics for comparison to standards of care for different diseases e a 1 to 2 slide Microsoft PowerPoint presentation on the different models of case management.  Include speaker notes... .....Describe three different models of case management. visual representations of information. They can include numbers SSAY ame workbook for all 3 milestones. You do not need to download a new copy for Milestones 2 or 3. When you submit Milestone 3 pages): Provide a description of an existing intervention in Canada making the appropriate buying decisions in an ethical and professional manner. Topic: Purchasing and Technology You read about blockchain ledger technology. Now do some additional research out on the Internet and share your URL with the rest of the class be aware of which features their competitors are opting to include so the product development teams can design similar or enhanced features to attract more of the market. The more unique low (The Top Health Industry Trends to Watch in 2015) to assist you with this discussion.         https://youtu.be/fRym_jyuBc0 Next year the $2.8 trillion U.S. healthcare industry will   finally begin to look and feel more like the rest of the business wo evidence-based primary care curriculum. Throughout your nurse practitioner program Vignette Understanding Gender Fluidity Providing Inclusive Quality Care Affirming Clinical Encounters Conclusion References Nurse Practitioner Knowledge Mechanics and word limit is unit as a guide only. The assessment may be re-attempted on two further occasions (maximum three attempts in total). All assessments must be resubmitted 3 days within receiving your unsatisfactory grade. You must clearly indicate “Re-su Trigonometry Article writing Other 5. June 29 After the components sending to the manufacturing house 1. In 1972 the Furman v. Georgia case resulted in a decision that would put action into motion. Furman was originally sentenced to death because of a murder he committed in Georgia but the court debated whether or not this was a violation of his 8th amend One of the first conflicts that would need to be investigated would be whether the human service professional followed the responsibility to client ethical standard.  While developing a relationship with client it is important to clarify that if danger or Ethical behavior is a critical topic in the workplace because the impact of it can make or break a business No matter which type of health care organization With a direct sale During the pandemic Computers are being used to monitor the spread of outbreaks in different areas of the world and with this record 3. Furman v. Georgia is a U.S Supreme Court case that resolves around the Eighth Amendments ban on cruel and unsual punishment in death penalty cases. The Furman v. Georgia case was based on Furman being convicted of murder in Georgia. Furman was caught i One major ethical conflict that may arise in my investigation is the Responsibility to Client in both Standard 3 and Standard 4 of the Ethical Standards for Human Service Professionals (2015).  Making sure we do not disclose information without consent ev 4. Identify two examples of real world problems that you have observed in your personal Summary & Evaluation: Reference & 188. Academic Search Ultimate Ethics We can mention at least one example of how the violation of ethical standards can be prevented. Many organizations promote ethical self-regulation by creating moral codes to help direct their business activities *DDB is used for the first three years For example The inbound logistics for William Instrument refer to purchase components from various electronic firms. During the purchase process William need to consider the quality and price of the components. In this case 4. A U.S. Supreme Court case known as Furman v. Georgia (1972) is a landmark case that involved Eighth Amendment’s ban of unusual and cruel punishment in death penalty cases (Furman v. Georgia (1972) With covid coming into place In my opinion with Not necessarily all home buyers are the same! When you choose to work with we buy ugly houses Baltimore & nationwide USA The ability to view ourselves from an unbiased perspective allows us to critically assess our personal strengths and weaknesses. This is an important step in the process of finding the right resources for our personal learning style. Ego and pride can be · By Day 1 of this week While you must form your answers to the questions below from our assigned reading material CliftonLarsonAllen LLP (2013) 5 The family dynamic is awkward at first since the most outgoing and straight forward person in the family in Linda Urien The most important benefit of my statistical analysis would be the accuracy with which I interpret the data. The greatest obstacle From a similar but larger point of view 4 In order to get the entire family to come back for another session I would suggest coming in on a day the restaurant is not open When seeking to identify a patient’s health condition After viewing the you tube videos on prayer Your paper must be at least two pages in length (not counting the title and reference pages) The word assimilate is negative to me. I believe everyone should learn about a country that they are going to live in. It doesnt mean that they have to believe that everything in America is better than where they came from. It means that they care enough Data collection Single Subject Chris is a social worker in a geriatric case management program located in a midsize Northeastern town. She has an MSW and is part of a team of case managers that likes to continuously improve on its practice. The team is currently using an I would start off with Linda on repeating her options for the child and going over what she is feeling with each option.  I would want to find out what she is afraid of.  I would avoid asking her any “why” questions because I want her to be in the here an Summarize the advantages and disadvantages of using an Internet site as means of collecting data for psychological research (Comp 2.1) 25.0\% Summarization of the advantages and disadvantages of using an Internet site as means of collecting data for psych Identify the type of research used in a chosen study Compose a 1 Optics effect relationship becomes more difficult—as the researcher cannot enact total control of another person even in an experimental environment. Social workers serve clients in highly complex real-world environments. Clients often implement recommended inte I think knowing more about you will allow you to be able to choose the right resources Be 4 pages in length soft MB-920 dumps review and documentation and high-quality listing pdf MB-920 braindumps also recommended and approved by Microsoft experts. The practical test g One thing you will need to do in college is learn how to find and use references. References support your ideas. College-level work must be supported by research. You are expected to do that for this paper. You will research Elaborate on any potential confounds or ethical concerns while participating in the psychological study 20.0\% Elaboration on any potential confounds or ethical concerns while participating in the psychological study is missing. Elaboration on any potenti 3 The first thing I would do in the family’s first session is develop a genogram of the family to get an idea of all the individuals who play a major role in Linda’s life. After establishing where each member is in relation to the family A Health in All Policies approach Note: The requirements outlined below correspond to the grading criteria in the scoring guide. At a minimum Chen Read Connecting Communities and Complexity: A Case Study in Creating the Conditions for Transformational Change Read Reflections on Cultural Humility Read A Basic Guide to ABCD Community Organizing Use the bolded black section and sub-section titles below to organize your paper. For each section Losinski forwarded the article on a priority basis to Mary Scott Losinksi wanted details on use of the ED at CGH. He asked the administrative resident