摘要: #include<iostream>using namespace std;int main(){ int i; int r1=1,r; int r2=1; for(i=3;i<=30;i++) { r=r1+r2; r2=r1; r1=r; }cout<<r; return 0; } 阅读全文
posted @ 2023-04-25 08:46 jmhyyds 阅读(35) 评论(0) 推荐(0)