A Recipe Manager Program

Information Technology homework help: For this stepping stone lab and others to come, you will create coding for a program designed to manage recipes. In Stepping Stone Lab Two, you will begin working with a recipe manager program by focusing on a single ingredient. You will be introduced to basic data types to store numeric values and string values.

You will build this ingredient in code that reflects variables such as its name, the number of cups of that ingredient needed in the recipe, and how many calories

it has per cup. You will also write an expression to calculate the total number of calories this ingredient would contribute to a recipe.

To keep track of this information, you need to store it in a program. You will need to utilize variables of various data types to store the information and prompt

the user for the various values. Once you get that information from the user, you can calculate the total number of calories per serving in your recipe.

Prompt: Use SteppingStone2_IngredientCalculator.java as your base code. Areas that require changes to the base code and/or additional code to be written are found in the commented areas that look like this: /** * This is a commented area that describes the task to be completed in this stepping stone * */ Specifically, you will complete the following:

A. Assign the variables with the appropriate data type and value as shown in the table below:

Variable Name Type of Value Stored

nameOfIngredient Text

numberOfCups Decimal numbers (e.g., ½ a cup)

numberOfCaloriesPerCup Whole numbers

totalCalories Decimal numbers

B. Write an expression that multiplies the numberOfCups by the numberOfCalories per cup and assign this value to totalCalories. Guidelines for Submission: This assignment should be submitted as a Java file.

Extending This Lab for Your Final Project For your final project, do the following:

1. Create a new java class named Ingredient.

2. Adapt the code from this stepping stone to include the following changes: A. Rename the variable numberCups to represent the more general ingredientAmount. B. Add a new text variable, unitMeasurement, to store unit of measurement for the ingredient amount (cups, ounces, etc.). C. Prompt the user to input the measurement unit.


package SteppingStones;

import java.util.Scanner;



* @author j.leone1


public class SteppingStone2_IngredientCalculator {


* @param args the command line arguments


public static void main(String[] args) {


*Assign the following variables with the appropriate data type and value:


*nameOfIngredient “”

*numberCups 0

*numberCaloriesPerCup 0

*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 number of cups of “

+ nameOfIngredient + ” we’ll need: “);

numberCups = scnr.nextFloat();

System.out.println(“Please enter the name of calories per cup: “);

numberCaloriesPerCup = scnr.nextInt();


* Write an expression that multiplies the number of cups

* by the Calories per cup.

* Assign this value to totalCalories


System.out.println(nameOfIngredient + ” uses ” + numberCups

+ ” cups and has ” + totalCalories + ” calories.”);




Order NOW to get 15% Discount!

{{total || ""}}

Why Choose Us

Top Quality and Well-Researched Papers

Keeping in mind your instructions and guidelines, our writers ensure to do extensive research before beginning to write. Unique and quality paper is our top priority.

Professional and Experienced Academic Writers

Our team of writers and editors have many years of experience in academic writing. They are native English speakers and able to handle any academic task with ease.

Free Unlimited Revisions

We offer free unlimited revision to our clients. Whenever you feel the need to revise your work submit to our able editors. Our editors will ensure that your paper will be revised to meet your guidelines.

Prompt Delivery and 100% Money-Back-Guarantee

As a team we work hard to ensure a timely delivery of your papers. All you need to do is specify the time frame that you want you paper be submitted. We will work round the clock to beat the deadline.

Original & Confidential

We value your confidentiality and all our payment method are secure. We also use high end writing tools to ensure that all papers delivered are unique.

Customer Support 24/7

Our customer support team are available 24/7 to accept your orders and queries. We are committed to provide you with the best customer experience.

What Our Paper Writing Service Guarantees

You do not have to worry on what to expect because at mypaperwriterspro.com we guarantee you;

High Quality Academic Papers

Our team of writers and editors is composed of people with diverse writing experiences. All of them have a Ph.D. They are all Ph.D. or M.A. graduates with extensive experience in academic and essay writing. We offer high-quality, original academic writing at an affordable cost.

Every order is written from scratch. We ensure that your papers conform to English conventions and the requirements of your discipline. To ensure originality, we also perform originality checks on all academic papers. Our success rate is 99% and many of our clients achieves their desired grades.

Zero-plagiarism policy

Mypaperwriterspro has a strict anti-plagiarism policy. To ensure that your paper is not flagged as plagiarism, we take extra precautions when writing it. Professional plagiarism detection software is used by our custom paper experts.

Privacy Policy

Mypaperwriterspro takes the privacy of clients' information very seriously. Mypaperwriterspro does not disclose any information about our transactions with third-party services. Nobody will ever know that you have hired our paper writing service to help with your paper.

Our website offers online security for our customers. Your passwords and personal information are protected and cannot be accessed by anyone else. Our customers are assured that their accounts will not be compromised by hackers. Learn more about the data that we store and how it is used in our privacy statement.

Free revision

When you order our paper service, you get unlimited free revisions and unlimited drafts. We will ensure that you submit flawless papers. Our paper help website allows you to request multiple revisions.

If the order form indicates that modifications or adjustments are required, only those should be made. These guidelines include, but are not limited to:

  • Revision instructions should not conflict with your original instructions.
  • You can request a modification before the purchase is approved. However, there is a 14-day grace period in which you can do this.
  • You should not extend your deadline by more than one day from the original deadline.
  • 24/7 Customer Support

    You can reach us by email, phone, and live chat. We are always interested in hearing from our customers. We welcome any feedback regarding our paper assistance service. Our customer service representatives are available 24/7, even on holidays and weekends. They can help you place orders, check the status of your order, answer questions, or simply provide information.

    Chat with your paper specialist via our live chat. Our professionals are available for unlimited chats. All your questions will be answered within minutes

    Money-back guarantee

    Do you still feel dissatisfied with your final paper? Don't worry. Mypaperwriterspro is committed to customer satisfaction.

    Although it is rare, you can request a partial or full refund if your final paper is not written to your satisfaction. Mypaperwriterspro views our money-back guarantee more as a right than a benefit.

    We believe that our clients deserve the best paper services available online. We offer a simple and straightforward refund process if you are not satisfied with the paper.

    Open chat
    You can now contact our live agent via Whatsapp via +1(954) 751-1024
    You will get free custom written paper ready for submission to your Blackboard