Question: Hello, I really could use some assistance for this upcoming assingment in my object oriented programing class. I am struggling with getting the code to
Hello, I really could use some assistance for this upcoming assingment in my object oriented programing class. I am struggling with getting the code to run properly. Any help is greatly appreciated. Thank you in advance!




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(Stringl] args) s) Assign the following variables with the appropriate data type and value: VARIABLE NAME VALLUE nameOfingredient numberCups lnumberCaloriesPerCup 0 "totalCalorie Scanner scnr new Scanner(System.in) System.out.printin("Please enter the name of the ingredient: " InameOfingredient scnr.next()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
