Advertisement
Spocoman

Dance Hall

Oct 6th, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.24 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     var l, w, a float64
  7.     fmt.Scanln(&l)
  8.     fmt.Scanln(&w)
  9.     fmt.Scanln(&a)
  10.    
  11.     space := l * w - (l * w / 10) - a * a
  12.  
  13.     dancers := int(space / 0.7040)
  14.  
  15.     fmt.Println(dancers)
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement