int n = 10;计算前10项斐波那契数列 printf("斐波那契数列前%d项为: ", n); for(int i = 0; i < n; i++) { 引入标准输入输出库,