Answer to Question #688 in Java | JSP | JSF for Donna
Assign to the variable float variable totalCost the product of the int quantity times the double cost.
Write the complete java statement.
1
2010-09-28T00:40:41-0400
float totalCost = (float) (quantity * cost);
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment