You are viewing a single comment's thread. Return to all comments →
// Write your code here double totalcost = meal_cost+((meal_cost*tip_percent)/100)+((meal_cost*tax_percent)/100); int costtotal = (int) Math.round(totalcost) ; System.out.println(costtotal); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
// Write your code here double totalcost = meal_cost+((meal_cost*tip_percent)/100)+((meal_cost*tax_percent)/100); int costtotal = (int) Math.round(totalcost) ; System.out.println(costtotal); }