Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var a int
- fmt.Scanln(&a)
- var b int
- fmt.Scanln(&b)
- var area = a * b
- fmt.Println(area)
- }
- ИЛИ:
- package main
- import "fmt"
- func main() {
- var a, b int
- fmt.Scanln(&a)
- fmt.Scanln(&b)
- var area = a * b
- fmt.Println(area)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement