- 4
- 0
- 约1.51万字
- 约 77页
- 2017-08-22 发布于河南
- 举报
实验2主要问题 switch(表达式){ case 常量表达式1:语句段1; break; case 常量表达式2:语句段2 ; break; ....… case 常量表达式n:语句段n ; break; default : 语句段n+1 ; break; } #??include ?stdio.hint??main(void){ int??n,i,A,B,C,D,E; int??gr; A=B=C=D=E=0; printf(Enter??n:);???????? scanf(%d,n); for(i=1;i=n;i++) { printf(输入第%d个成绩:,i);???????? scanf(%d,gr); switch(int(gr/10)) { case??9:case??10:A++;break; case??8:B++;break; case??7:C++;break; case??6:D++;break; case??5:case??4:case??3:case??2:case??1:case??0:E++;break;
您可能关注的文档
- 北京爱情故事经典台词.doc
- AI女性插画设计教程.doc
- pop海报教程+pop字体教程.doc
- 北京朝阳区2012年高三一模理综试题 - 副本.doc
- amn_-避免销售区划分的混战.doc
- POP海报设计教学大纲POPAEFCB3F8B3]ADp.doc
- 北京第二学期七年级数学期末综合检测.doc
- 北京工业大学通识教育选修课申请表.doc
- Android软件提交之市场类入口合集.doc
- 北京攻略秘笈.doc
- unidir -人工智能与国际安全:理解风险并为建立信任措施铺平道路 AI and International Security - Understanding the Risks and Paving the Path for Confidence-Building Measures.pdf
- unidir -通过负责任行为的规范、规则和原则推进空间安全的非洲视角 African Perspectives for Advancing Space Security Through Norms, Rules and Principles of Responsible Behaviours - Workshop Summary Report.pdf
- wfp -约旦学校供餐计划影响评估 Jordan, School Meal Programme Impact Evaluation.pdf
- wfp -注意差距 莱索托案例研究 Mind the Gap -Lesotho Case Study.pdf
- unesco -数字公共产品与新兴技术促进公平和包容的知识获取 Dubai Declaration on Open Educational Resources (OER) digital public goods and emerging technologies for equitable and inclusive access to knowledge.pdf
- unidir -致命自主武器系统领域新兴技术相关提案 Proposals Related to Emerging Technologies in the Area of Lethal Autonomous Weapons Systems- A Resource Paper (updated).pdf
- who -脊髓灰质炎过渡战略框架:监测与评估 Polio transition strategic framework - Monitoring and evaluation.pdf
- who -高效实用的结核病治疗试验平台会议报告 Platform for efficient and practical tuberculosis treatment trials.pdf
- unesco -国际性教育技术指导纲要:循证方法 International technical guidance on sexuality education - an evidence-informed approach.pdf
- UNIDIR_unidir -涉足浑浊之水:海底通信电缆与负责任的国家行为 Wading Murky Waters - Subsea Communications Cables and Responsible State Behaviour.pdf
原创力文档

文档评论(0)