Teo_Yanchev

food_delivery_2-3-2019_exam

Jul 15th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. chicken_menu = int(input())
  2. fish_menu = int(input())
  3. vegetarian_menu = int(input())
  4.  
  5. chicken = chicken_menu * 10.35
  6. fish = fish_menu * 12.40
  7. vegetarian = vegetarian_menu * 8.15
  8.  
  9. total_cost = chicken + fish +vegetarian
  10.  
  11. desert = total_cost * 0.20
  12.  
  13. total_plus_delivery = desert + total_cost + 2.50
  14.  
  15. print(f"Total: {total_plus_delivery:.2f}")
Add Comment
Please, Sign In to add comment