นี่ครับโค้ด อ่านแล้วน่าจะเข้าใจนะ


[hide=1]
[code]
#include <stdio.h>

unsigned long long fibonacci(int Nth) {