会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嗷骜
博客园
首页
新随笔
联系
订阅
管理
2020年12月30日
第七次实验
摘要: 实验任务三:在屏幕上输出了分数从高到低的信息;同时也生成了file3.dat;文件里的信息正确且可读; 实验任务四: 子任务1:生成了;生成了file4.dat;里面的数据不是直观且可读 子任务2: #include <stdio.h> #include <stdlib.h> #define N 1
阅读全文
posted @ 2020-12-30 23:44 嗷骜
阅读(28)
评论(1)
推荐(0)
2020年12月22日
第六次实验
摘要: 实验任务一: #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student { int id; char name[20]; char subject[20]; float per
阅读全文
posted @ 2020-12-22 16:26 嗷骜
阅读(58)
评论(2)
推荐(0)
2020年12月17日
第五次实验
摘要: 实验一: #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\n",
阅读全文
posted @ 2020-12-17 23:32 嗷骜
阅读(49)
评论(1)
推荐(0)
2020年12月1日
第四次实验
摘要: 实验一: // #include<math.h> #include<stdio.h> void solve(double a,double b,double c); int main(){ double a,b,c; printf("Enter a,b,c:"); while(scanf("%1f%
阅读全文
posted @ 2020-12-01 11:13 嗷骜
阅读(60)
评论(1)
推荐(0)
2020年11月18日
第三次实验
摘要: 实验一: // #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,&b
阅读全文
posted @ 2020-11-18 16:14 嗷骜
阅读(61)
评论(0)
推荐(0)
2020年10月31日
第二次实验
摘要: 任务一: 除和乘,计算的先后顺序不同 任务二: 任务三: 任务四: 任务五: 任务六: // #include <stdio.h> #include <math.h> int main() { int n,s; char sum; printf("输入1到10的整数求等比数列前n项和:"); sca
阅读全文
posted @ 2020-10-31 17:53 嗷骜
阅读(42)
评论(1)
推荐(0)
2020年10月18日
第一次c语言实验
摘要:
阅读全文
posted @ 2020-10-18 12:50 嗷骜
阅读(40)
评论(0)
推荐(0)
公告