会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
昱
博客园
首页
新随笔
联系
订阅
管理
2020年1月1日
实验7
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id;
阅读全文
posted @ 2020-01-01 11:11 昱
阅读(75)
评论(2)
推荐(0)
2019年12月22日
实验六
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id;
阅读全文
posted @ 2019-12-22 16:57 昱
阅读(92)
评论(0)
推荐(0)
2019年11月17日
实验3
摘要: 恢复内容 #include<stdio.h> int main() { long int s,p=1,t=0; printf("输入一个整数:"); scanf("%ld",&s); while(s) { if((s%10)%2==1) { t=t+(s%10)*p; p=p*10; } s=s/1
阅读全文
posted @ 2019-11-17 17:17 昱
阅读(128)
评论(2)
推荐(0)
实验3
摘要: #include<stdio.h> int main() { long int s,p=1,t=0; printf("输入一个整数:"); scanf("%ld",&s); while(s) { if((s%10)%2==1) { t=t+(s%10)*p; p=p*10; } s=s/10; }
阅读全文
posted @ 2019-11-17 17:05 昱
阅读(93)
评论(0)
推荐(0)
公告