- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
上课演示(Presentation in class)
上课演示(Presentation in class)
/ *
#包括 stdio. h
主(空)
{
a,b,c,max;
输入(请输入三个数字:“A,B,C \”);
scanf(“%d,%d,%d”,, B,C);
/ / -----------------------------------
如果(a = b)
{ //块
max =;
}
其他的
max = B;
/ / -----------------------------------
如果(max C)
max = C;
其他的
max = max;
/ / -----------------------------------
printf(“一是:%d\n”,A);
printf(“B:%d\n”,B);
printf(“C:%d\n”,C);
printf(“麦克斯:%d\n”,最大);
返回0;
}
* /
/ *
#包括 stdio. h
空主(空)
{
/ / --------------------------
int,n,i = 1;
/ / -------------------------
当(i=3)
{
scanf(“%d”,与N);/ /
++;
如果(i = 1)
max = n;
如果(n = max)
{
max = n;
}
}
/ / -----------------------
printf(“麦克斯:%d\n”,最大);
} /*
/ *
#包括 stdio. h
空主(空)
{
int,n,i = 1,min;
当(i=10)
{
scanf(“%d”,与N);/ /输入出错怎么办?
如果(i = 1)
{
max = n;
min = n;
}
++;
如果(n = max)
{
max = n;
}
如果(n = min)
{
min = n;
}
}
printf(“最大= %d\n”,最大);
printf(“民= %d\n”,min);
}
* /
/ / -------------------------------------------------------
/ /使用数组一[ ] = { [ 0 ],一个[ 2 ],[ 1 ] },一…
/ *
#包括 stdio. h
#定义N 10
空主(空)
{
int max,a,i=0;
而(i)
{
printf(“请把%d数:\n”,我);
scanf(“%d”,和一个[我]);
如果(i = 0)
{
max = [ i ];
}
如果(i = max = max)
{
max = [ i ];
}
++;
}
printf(“我= %d\n”,我);
我= 0;
而(i)
{
printf(“[%d] = %d\n”,我,一个[我]);
++;
}
printf(“麦克斯:%d\n”,最大);
}
* /
/ / -------------------------------------------------------
/ *
#包括 stdio. h
空主(空)
{
int = i 1;
当(i=10)
{
printf(“************** \n”);
如果(i = 5)
{
printf(“我会继续!“n);
继续;
}
++;
}
}
* /
/ / -------------------------------------------------------
/ *
#包括 stdio. h
主(空)
{
int = 1;
而(n=100)
{
int = i 2,标志= 1;
如果(n=1)
{
标志=0;
}
其他的
{
当(i = n-1)
{
如果(n = i = 0)
{
标志=0;
打破;
}
其他的
{
++;
}
}
}
如果(标志= 1)
{
printf(“%d个引物!“n”,n);
}
其他的
{
printf(“%d不是一个引物!“n”,n);
}
氮+;
}
返回0;
}
* /
/ / -------------------------------------------------------
/ *
#包括 stdio. h
主(空)
{
int n;
放置(“请输入一个正整数”);
scanf(“%d”,和N);
int = i 2,标志= 1;
如果(n=1)标志=0;
其他的
{
当(i = n-1)
{
如果(n = i = 0)/ / 24% 2
{
标志=0;
打破;
}
/ /其他
++;
}
}
如果(标志= 1)
{
printf(“%d个引物!“n”,n);
}
其他的
{
printf(“%d不是一个引物!“n”,n);
}
返回0;
}
* /
/
您可能关注的文档
- 一个土建工程师应该掌握的基本数据(A civil engineer should have basic data).doc
- 一个出租车队的团队情商(Emotional intelligence for a rental team).doc
- 一个完美结局和一个瑶甄结局以及一些小的支线任务攻略(A perfect ending and a yao zhen finale and a small number of small branch tasks).doc
- 一个大一新生对大学生活的感悟(A freshman's perception of college life).doc
- 一个家长积累的中医经验(A parent's accumulated experience in Chinese medicine).doc
- 一个快乐妈妈才能带出一个快乐孩子(A happy mother can bring out a happy child).doc
- 一个大三学生对大学生活的回顾(A junior student's review of college life).doc
- 一个意见、两个规划(One opinion, two plans).doc
- 一个成功教师每天、每周、每学期要做的事(What a successful teacher does every day, every week, every semester).doc
- 一个很好的人生规划范文(A good life plan).doc
- 上财金融硕士就业去向(The employment of master's degree in finance and finance).doc
- 上课认识生物的计划(Learn about biology in class).doc
- 上香(lighting).doc
- 下乡支农收获(The farmers in the countryside are harvested).doc
- 下一波移动互联网浪潮可穿戴式设备(The next wave of mobile Internet wearable devices).doc
- 下半年小学2011年秋季学校工作总结范文(In the second half of the year, the school will work in the fall school).doc
- 下学期我要去学习了(I'm going to study next term).doc
- 下贝氏体和上贝氏体在组织和性能上有何区别呢,(What is the difference between the lower bainite and the upper bainite structure and the performance).doc
- 下载必修ii第一章《物质结构_元素周期律》单元练习题(Download the first chapter, the periodic law of the material structure.).doc
- 下载提速的方法(免费)(Download speed method (free)).doc
文档评论(0)