veronikaaa86

09. Fish Tank

May 8th, 2022
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. length = int(input())
  2. width = int(input())
  3. height = int(input())
  4. percent = float(input())
  5.  
  6. volume = length * width * height
  7.  
  8. total_lt = volume / 1000
  9. percent_lt = total_lt * (percent / 100)
  10. result = total_lt - percent_lt
  11.  
  12. print(result)
Advertisement
Add Comment
Please, Sign In to add comment