![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c
一一三一
on the way
展开
-
C语言程序设计第四版课后习题-谭浩强
#include<stdio.h> #include <string.h> #include <math.h> /*2.4.1有两个瓶子A和B,分别放醋和酱油,要求将他们互换*/ void swapaandb(int *a,int *b){ int temp=*a; *a=*b; *b=temp; } /*一次将10个数输入,要求将将其中最大的数输出。*/...原创 2020-03-12 17:59:51 · 2959 阅读 · 1 评论 -
C 语言基础实例
#include<stdio.h> #include <string.h> #include <math.h> /*输出前N项的斐波那契数*/ void feibo(int n){ int first=1,next=2; int i,now; for(i=3;i<n;i++){ now=first+next; first=next; ...原创 2020-03-03 12:07:45 · 199 阅读 · 0 评论