- 2
- 0
- 约7.58千字
- 约 24页
- 2017-08-04 发布于河南
- 举报
北理工网络教室c语言编程练习(North tech network classroom C language programming exercises)
Enter the value of X, and then the value of the corresponding y.
#includestdio.h
Int, main ()
{
Int, x, y;
Scanf (%d, x);
If (x2x=10)
Printf (%d\n, x* (x+2));
Else if (x-1x=2)
Printf (%d\n, 2*x);
Else if (x=-1)
Printf (%d\n, X-1);
Else printf (Error\n);
}
Output four integers in order
#includestdio.h
Int, main ()
{int, a, B, C, d;
Scanf (%d,%d,%d,%d, a, b, c, d);
If (ab) {a+=b; b=a-b; a-=b;}
If (ac) {a+=c; c=a-c; a-=c;}
If (ad) {a+=d; d=a-d; a-=d;}
If (bc) {b+=c; c=b-c; b-=c;}
If (bd) {b+=d; d=b-d; b-=d;}
If (cd) {c+
您可能关注的文档
- 广东省某县人民医院人力资源管理咨询案例(A county in Guangdong province people's hospital human resources management consulting case).doc
- 广东80.90后的童年是这样过的(Guangdong 80., 90's childhood is like this).doc
- 果树盆景之嫁接改良技术要点(Technical points of grafting improvement of fruit bonsai).doc
- 广东话经典谒后语大全(Cantonese classics).doc
- 广东歇后语(Guangdong twisters).doc
- 广告活动策划案(Advertising campaign planning case).doc
- 广告机介绍(Introduction to advertising machines).doc
- 果蔬农药残留排行榜苹果药多 洋葱药少(List of pesticide residues in fruits and vegetables more apples and less onion).doc
- 广告设计的色彩管理和色彩匹配(Color management and color matching in advertising design).doc
- 海康威视常见问题(Hikvision FAQ).doc
最近下载
- AP宏观经济学 2004年真题 附答案和评分标准 AP Macroeconomics 2004 Real Exam with Answers and Scoring Guidelines.pdf VIP
- 五邑大学-本科-毕业论文-理科-格式模板范文.docx VIP
- 行政审批系统使用手册.pdf VIP
- 《透明式LED显示屏通用技术规范》.pdf
- 视频会议系统使用说明书.doc VIP
- 销售行业述职报告5篇.docx VIP
- 2026广东清远市阳山县融媒体中心招聘新闻人员4人备考题库及答案详解(最新).docx VIP
- 数据科学与大数据技术专业建设方案(汇报PPT).pptx
- 2025各地融媒体中心招聘笔试历年真题+模拟题答案汇总.doc VIP
- U盘接口芯片CH378在音乐播放器设计中的应用.pdf VIP
原创力文档

文档评论(0)