Start translation to brazilian portuguese

This commit is contained in:
Gustavo Kuklinski
2015-07-05 22:56:01 -03:00
parent 3219cc6f3b
commit 5504747def
273 changed files with 16240 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package main
import "fmt"
type Rectangle struct {
width, height float64
}
func area(r Rectangle) float64 {
return r.width * r.height
}
func main() {
r1 := Rectangle{12, 2}
r2 := Rectangle{9, 4}
fmt.Println("Area of r1 is: ", area(r1))
fmt.Println("Area of r2 is: ", area(r2))
}