C# program to print the Fibonacci series
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to print the Fibonacci series ——————————————————————————————————————————— How many elements you want to print 15 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
What Next?
C# program to print the Fibonacci series using recursion
C# program to print the Armstrong numbers
C# Strings
Advertisement