Sort by

recency

|

3420 Discussions

|

  • + 0 comments

    My code in JS

    const totalCost = meal_cost + meal_cost / 100 * tip_percent + meal_cost / 100 * tax_percent;
    
    console.log(Math.round(totalCost));
    
  • + 0 comments

    in java: public static void solve(double meal_cost, int tip_percent, int tax_percent) { // Write your code here double tip=(meal_cost* tip_percent/100); double tax=(meal_cost * tax_percent/100); double total_cost=(meal_cost+tip+tax); int total=(int)Math.round(total_cost); System.out.print(total); }

  • + 0 comments

    in python

    tip=(tip_percent/100)*meal_cost
    tax=(tax_percent/100)*meal_cost
    totalcost=meal_cost+tip+tax
    print(round(totalcost))
    
  • + 0 comments

    Hey guys , ı want to learn Python for Data science , What can I do for learning data science ?

  • + 0 comments

    Anyone knows why correct solutions are not awarded with points nor marked as solved? (it is said that submissions take longer, but actually they are not taken)