会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qyyyyd
博客园
首页
新随笔
联系
订阅
管理
2020年1月1日
实验7
摘要: // 从文本文件file1.dat中读取数据,找出最高分和最低分学生信息,并输出在屏幕上 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struct student { int num; cha
阅读全文
posted @ 2020-01-01 08:58 qyyyyd
阅读(134)
评论(2)
推荐(0)
2019年12月2日
试验4
摘要: //寻找两个整数之间的所有素数(包括这两个整数),把结果保存在数组bb中,函数返回素数的个数。 // 例如,输入6和21,则输出为:7 11 13 17 19。 #include <stdio.h> #include <stdlib.h> #define N 1000 int fun(int n,i
阅读全文
posted @ 2019-12-02 22:54 qyyyyd
阅读(121)
评论(2)
推荐(0)
2019年11月19日
作业3
摘要: #include <stdio.h>#include <stdlib.h>int main() { int number, max, min, n; n=1; printf("输入第%d个数: ", n); scanf("%d", &number); max = number; min = numb
阅读全文
posted @ 2019-11-19 23:03 qyyyyd
阅读(113)
评论(2)
推荐(0)
2019年10月22日
实验
摘要: #include<stdio.h> int main() { printf("201983270484"); return 0 ; } #include<stdio.h> int main() { printf("火星,好久不见"); return 0 ; } # include<stdio.h> int main() { int x; printf("输入一个整数:\n"); scanf("%d
阅读全文
posted @ 2019-10-22 23:14 qyyyyd
阅读(94)
评论(0)
推荐(0)
公告