diff options
Diffstat (limited to 'usr/rsc/fib/main.go')
-rw-r--r-- | usr/rsc/fib/main.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/rsc/fib/main.go b/usr/rsc/fib/main.go new file mode 100644 index 000000000..3ac5d5914 --- /dev/null +++ b/usr/rsc/fib/main.go @@ -0,0 +1,13 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package main + +import "fib" + +func main() { + for i := 0; i < 10; i++ { + println(fib.Fib(i)); + } +} |