Advertisement
Spocoman

08. Fish Tank

Sep 15th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.30 KB | None | 0 0
  1. package main
  2. import "fmt"
  3.  
  4. func main() {
  5.     var length, width, height, percentage float64
  6.     fmt.Scanln(&length)
  7.     fmt.Scanln(&width)
  8.     fmt.Scanln(&height)
  9.     fmt.Scanln(&percentage)
  10.    
  11.     var liters = length * width * height * (100 - percentage) / 100000
  12.    
  13.     fmt.Println(liters)
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement