Welcome Coders!
1.2.3.4.5.6.7.8.9.10.11.12.13.
static void fibonacci(int x){ int y = 0, z = 1, total; for (int i = 0; i < x; i++) { total = y + z; Console.WriteLine(total); y = z; z = total; }}