We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 2: Operators
Day 2: Operators
Sort by
recency
|
3406 Discussions
|
Please Login in order to post a comment
tip = tip_percent * meal_cost / 100 tax = tax_percent * meal_cost / 100 total_bill = meal_cost + tip + tax print(round(total_bill))
Hi, Why this statement doesn't work?? double tip=(tip_percent/100)meal_cost; instead if I give (tip_percent)(meal_cost/100); will work
Write your code here
i am using def function but this is not exixt