Reference no: EM131994372 
                                                                               
                                       
Need help with completing the Java code mentioned below.
Need to input 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
Include an expression that multiplies the numberOfCups by the numberOfCalories per cup and assign this value to totalCalories.
SteppingStone2_IngredientCalculator.java
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:
*VARIABLE NAME 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 number of calories per cup: ");
numberCaloriesPerCup = scnr.nextInt();
/**
* Include 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.");
}
}
                                       
                                     
                                    
	
		| Investing in machine that produces bowling balls
                                        : The Baldwin Company is considering investing in a machine that produces bowling balls. | 
		| Types of cyber hazards-state-sponsored threats and cyber
                                        : The types of cyber hazards we face from state-sponsored threats and cyber crime (social engineering as cybercrime, active persistent threats, malware | 
		| Eisc always needs conveyor belt system
                                        : If instead, assume that EISC always needs a conveyor belt system; when one wears out, it must be replaced. Which project should the firm choose now? | 
		| Examining the research in human development
                                        : Before completing this discussion, review Chapter 6 in your text. After examining the research in human development, please complete the following discussion. | 
		| Input the variables with the appropriate data type
                                        : Need to input the variables with the appropriate data type and value as shown in the table below: | 
		| What is the future value of an annuity
                                        : What is the Future Value of an annuity of $10,000, interest 10% for 12 years? | 
		| Why did you choose the leader
                                        : Why did you choose this leader? Discuss their leadership qualities/team collaboration and how those have influenced the organization's structure. | 
		| What are the risks and benefits of the outsourcing approach
                                        : What are the risks and benefits of the outsourcing approach?  What are the strategic advantages of outsourcing to vertically integrated firms? | 
		| Explain how initial opinions changed
                                        : Explain how initial opinions changed, regarding ethical concerns, after the group discussion in Week Four. Describe any state laws that influenced a personal. |