You are viewing a single comment's thread. Return to all comments →
public static void solve(double meal_cost, int tip_percent, int tax_percent) { System.out.printf("%.0f", meal_cost + ((meal_cost * (tip_percent / 100f)) + (meal_cost * (tax_percent / 100f)))); }
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 →