



免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
include include include include include typedef struct change int data struct change next N typedef struct N head int n ES void es N front rear head ES p int count sum 0 int i p n 0 printf n n n n n n n t t t t 欢迎使用二 十进制转换功能 Sleep 1000 system cls printf n n n n n n n t t t 请输入要转换的二进制数据 n n head front rear N malloc sizeof N scanf d for rear datadata 1 p n p n 1 rear N malloc sizeof N scanf d if rear datadata 1 front next rear front rear else front next NULL front head do count 1 if front data 1 for i 1 idata 2 else count 0 sum sum count p n p n 1 front front next while front NULL printf d n sum void se int data int i j N top bottom head ES p printf n n n n n n n t t t t 欢迎使用十 二进制转换功能 Sleep 1000 system cls printf n n n n n n n t t t 请输入要转换的十进制数据 n n scanf d i data 2 j data 2 if i data head top bottom N malloc sizeof N top data i top next NULL p n p n 1 do data j i data 2 j data 2 top N malloc sizeof N top data i p n p n 1 top next bottom bottom top while j 0 head top printf 转换成的二进制数据为 for top NULL printf d top data top top next else printf 转换成的二进制数据为 printf d n data void menu char choice int d do d 0 printf n printf t 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 请选择功能 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 a 二进制转换十进制功能 3 n printf t 3 3 n printf t 3 b 十进制转换二进制功能 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 n scanf c system cls switch choice case a es break case b se break case A es break case B se break default d 1 printf n n n n n n n t t t t 选择有误 请重新输入 n n n Sleep 1000 getchar system cls while d void main printf n system color 4f printf t 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 欢迎使用二 十进制转换系统 3 n printf t 3 3 n printf t 3 谢谢 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3 n printf t 3 3
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年教师招聘之《幼儿教师招聘》题库附参考答案详解(夺分金卷)
- 教师招聘之《小学教师招聘》综合练习附完整答案详解【易错题】
- 新质生产力五个核心要素
- 音乐欣赏课程西方古典音乐鉴赏教案
- 校园的鱼池400字(13篇)
- 医患关系解决方案
- 元宵节的作文作文(10篇)
- 读书分享会感悟
- 联考改革后素描课件
- (正式版)DB15∕T 2672-2022 《沙袋沙障固沙技术规程》
- 融资风险评估报告
- 画法几何及土木工程制图课件
- 第2课 树立科学的世界观《哲学与人生》(高教版2023基础模块)
- 录入与排版教学计划
- 2023免拆底模钢筋桁架楼承板图集
- 云计算技术基础应用教程(HCIA-Cloud)PPT完整全套教学课件
- 呼吸衰竭小讲课课件
- 成人学士学位英语1000个高频必考词汇汇总
- 全屋定制家居橱柜衣柜整装安装服务规范
- 沥青及沥青混合料试验作业指导书
- 义务教育阶段学生艺术素质测评指标体系小学音乐
评论
0/150
提交评论