斐波那契數列

斐波那契數列 #include using namespace std; int main() { long long a=0,b=1,s=0; cout<<a<<" 「<<b<<」 「; for(int c=3;c<=93;c++) { s=a+b; a=b; b=s; cout<<s<<」 "; } return 0; } 代碼運行效果截圖
相關文章
相關標籤/搜索