Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var a, h float64
- fmt.Scanln(&a)
- fmt.Scanln(&h)
- var result = result = a * h / 2
- fmt.Printf("%.2f", result)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement