会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
周宜康
博客园
首页
新随笔
联系
订阅
管理
2020年12月23日
实验6
摘要: mission1: #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 2 typedef struct student { int id; char name[20]; char subject[20]; float
阅读全文
posted @ 2020-12-23 14:48 周宜康
阅读(73)
评论(1)
推荐(0)
2020年12月16日
实验5
摘要: mission1; #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d
阅读全文
posted @ 2020-12-16 14:27 周宜康
阅读(99)
评论(0)
推荐(0)
2020年11月30日
实验4
摘要: mission1:不能,正常返回值只有一个。 mission2: #include <stdio.h> long long fac(int n); int main() { int i,n; printf("Enter n: "); scanf("%d", &n); for(i=1; i<=n; +
阅读全文
posted @ 2020-11-30 22:13 周宜康
阅读(66)
评论(0)
推荐(0)
2020年11月18日
实验3
摘要: #include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a,
阅读全文
posted @ 2020-11-18 10:12 周宜康
阅读(74)
评论(0)
推荐(0)
2020年11月4日
实验2
摘要: #include <stdio.h> #include<stdlib.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f);
阅读全文
posted @ 2020-11-04 23:14 周宜康
阅读(80)
评论(1)
推荐(0)
2020年10月18日
实验一
摘要: printchar:1输出信号,0终止信号 math系列:整形和浮点型的区别
阅读全文
posted @ 2020-10-18 22:58 周宜康
阅读(75)
评论(1)
推荐(0)
公告