Exercise: rectangular STDIN


Write a program that asks the user for two numbers on STDIN (the width and the length of a rectangular) and prints the area and the circumference.

For example:


$ go run rectangular.go
width: 3
length: 4
Area: 12
Circumference: 14