Question: X590: Double Variable This method returns the price of bread. Declare a variable called price of bread using camel case and the correct data type
X590: Double Variable
This method returns the price of bread. Declare a variable called price of bread using camel case and the correct data type in the parameter. This variable will be used to hold the price of bread.
Your Answer:

1/*in the parameter, create a variable to hold a price*/ 2 public double setBreadPrice() 3 4 /*Type Here: Declare a variable called price of bread" and assign it to the parameter variable created*/ 5 /*return the "price of bread" variable*/ 6 return; 7}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
