You are viewing a single comment's thread. Return to all comments →
System.out.println(Math.round(meal_cost + meal_cost * tip_percent/100. + meal_cost * tax_percent/100.) );
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 →