# GO Program to Display Fibonacci Sequence

Today, We want to share with you GO Program to Display Fibonacci Sequence.In this post we will show you fibonacci series GO Program, hear for implement 50 fibonacci sequence in loop in golang we will give you demo and example for implement.In this post, we will learn about GO Program to Generate Fibonacci Sequence Up to a Certain Number with an example.

## GO Program to Display Fibonacci Sequence

There are the Following The simple About GO Program to Display Fibonacci Sequence Full Information With Example and source code.

As I will cover this Post with live Working example to develop fibonacci series algorithm, so the fibonacci series list for this example is following below.

Read Also:  jQuery trigger function viewport Example

GOLANG simple Program to Generate Fibonacci Sequence Up to a Certain your set Number

```//GO LANG Generate Fibonacci

package main

import "fmt"

func main(){
var n int
firstVal:=0
secondVal:=1
nextSeq:=0

fmt.Print("Please Enter the number of terms : ")
fmt.Scan(&n)
for i:=1;i<=n;i++ {
if(i==1){
fmt.Print(" ",firstVal)
continue
}
if(i==2){
fmt.Print(" ",secondVal)
continue
}
nextSeq = firstVal + secondVal
firstVal=secondVal
secondVal=nextSeq
fmt.Print(" ",nextSeq)
}
}
```