Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var w, h float64
- fmt.Scanln(&w)
- fmt.Scanln(&h)
- var num = (h - 1) * 100 / 70
- var row = w * 100 / 120
- var sum = int(num) * int(row) - 3
- fmt.Printf("%.2f\n", sum)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement