Get your own website
Python
C
Java
 
Python result:
C result:
Java result:
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55]

The 10th Fibonacci number is 55
0 1 1 2 3 5 8 13 21 34 55

The 10th Fibonacci number is 55
0 1 1 2 3 5 8 13 21 34 55

The 10th Fibonacci number is 55