You are viewing a single comment's thread. Return to all comments →
System.out.println(Math.round(meal_cost*(1+(tip_percent/100.00)+tax_percent/100.00)));
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
System.out.println(Math.round(meal_cost*(1+(tip_percent/100.00)+tax_percent/100.00)));