Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var length, width, height, percentage float64
- fmt.Scanln(&length)
- fmt.Scanln(&width)
- fmt.Scanln(&height)
- fmt.Scanln(&percentage)
- var liters = length * width * height * (100 - percentage) / 100000
- fmt.Println(liters)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement