• Java

    HackerRank Solution :: 30 Days Of Code – 2.Operators

    ObjectiveIn this challenge, you’ll work with arithmetic operators. Check out the Tutorial tab for learning materials and an instructional video! TaskGiven the meal price (base cost of a meal), tip percent (the percentage of the meal price being added as tip), and tax percent (the percentage of the meal price being added as tax) for a meal, find and print the meal’s total cost. Note: Be sure to use precise values for your calculations, or you may end up with an incorrectly rounded result! Input Format There are 3 lines of numeric input:The first line has a double,  mealCost(the cost of the meal before tax and tip).The second line has an integer, tipPercent (the percentage of mealCost being…