![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Q&A
bubble_0611
这个作者很懒,什么都没留下…
展开
-
字符串反向输出
#include#include#define N 100int main(){ char a[N], b[N]; int len, i = 0; scanf("%s", a); len = strlen(a); b[len] = '\0'; while(len--) { b[i] = a[len];原创 2013-12-08 21:24:16 · 476 阅读 · 0 评论 -
Fibonacci数列的计算和转换
#include#define N 30int i=0;int a[N];int fun(int first, int second, int num){ int temp; a[i] = first; a[i+1] = second; while(num --) { ++i; a[i+1] = a[i-1] +原创 2013-12-08 21:27:01 · 562 阅读 · 0 评论