- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
#includestdio.h
main()
{float pi=3r;
????printf(enter radius:\n);
????scanf(%f,r);
????printf(r=%.2f,c=%.2f,area=%.2f\n,r,2*pi*r,pi*r*r);
????system(pause);
}
#includestdio.h
main()
{int m,n,x,y;
printf(inputm,n:\n);
scanf(%d%d,m,n);
if (n%2==1)
{printf(error!! n bu shi ji shu!\n,n);
return;}
/*n在这里不能是奇数*/
x=(4*m-n)/2;
y=(n-2*m)/2;
if((x=0)(y=0))
?? printf(x=%d,y=%d\n,x,y);
else
printf(shu ru cuo wu!\n);
getch();
}
#includestdio.h
#includemath.h
#includestdlib.h
main()
{float a,b,C;
printf(enter 3number(a,b,C):\n);
scanf(%.2f %.2f %.2f,a,b,C);
s=0.5*a*b*sinC;
printf(s=%.2f\n,s);
system(pause);
}
#includestdio.h
main()
{int ds,nl,yf;
char c;
printf(shu ru ds;\n);
scanf(%d,ds);
if (ds14||ds1184)
{printf(input error!press any end...\n);
scanf(%c,c);
exit(0);
}
/*输入的数字必须是-14~1184之间*/
nl=(ds+115)%100;
yf=(ds+115)/100;
printf(nl=%d,yf=%d\n,nl,yf);
system(pause);}
#includestdio.h
#includestring.h
main()
{char s1[100],s2[100],s3[100],s4[100];
printf(input a string:\n);
gets(s1);
strcpy(s1,s2);
strcat(s1,--------------);
strcpy(s3,strcat(s1,--------------));
strcat(strcpy(s3,strcat(s1,--------------)),s2);
strcpy(s4,strcat(strcpy(s3,strcat(s1,--------------)),s2));
puts(s4);
system(pasue);
getch();
}
#includestdio.h
#includemath.h
main()
{float x1,x2,a,b,c;
printf(input 3 number(a,b,c):\n);
scanf(%f%f%f,a,b,c);
x1=(-b+sqrt(b*b-4*a*c))/(2*a);
x2=(-b-sqrt(b*b-4*a*c))/(2*a);
printf(x1=%f,X2=%f\n,x1,x2);
system(pause);
getch();
}
#includestdio.h
main()
{int a,b,c,t;
printf(input 3 number:\n);
scanf(%d%d%d,a,b,c);
if(ab)
{t=a;a=b,b=t;}
if(ac)
{t=a;a=c;c=t;}
if(bc)
{t=b;b=c;c=t;}
printf(1:%d,2:%d,3:%d\n,a,b,c);
????system(pause);
}
#includestdio.h
#includestdlib.h
#includeconio.h
main()
{float pi=3r;
textbackground(YELLOW);/* 设置背景色为黄色,注意颜色应该大写,可
您可能关注的文档
最近下载
- 组织分布研究实例.pptx VIP
- 专项资金项目验收专项审计报告参考模板.docx VIP
- 投资注资入股协议书.docx VIP
- 中铁建现场安全标准化指导手册(房建分册).docx
- T_CWAN 0026-2021 T_CEEIA 507-2021 MIG_MAG焊枪电缆技术要求.docx VIP
- 时事政治必考试题库及(2025年)附完整答案详解(各地真题).docx VIP
- 07J501-1图集参考标准文件.pdf VIP
- 华东交通大学材料力学期末模拟试题二.docx VIP
- 森林火灾扑救技术规程.docx VIP
- 道路运输企业和城市客运企业安全生产重大事故隐患判定标准(试行).docx VIP
原创力文档


文档评论(0)