<p>设圆半径r,圆柱高h 求圆周长C1、圆面积Sa、圆球表面积Sb、圆球体积Va、圆柱体积Vb。用scanf输入数据,输出计算结果,输出时要求文字说明,取小数点后两位数字。请编程序。 PI=3.14</p>

2020年1月17日 0条评论 2018点热度 0人点赞 code 阅读全文

<p>输入一个华氏温度,要求输出摄氏温度。公式为 c=5(F-32)/9 输出要求有文字说明,取位2小数。</p>

2020年1月17日 0条评论 1338点热度 0人点赞 code 阅读全文

<p>编写一个程序,输入a、b、c三个值,输出其中最大值。</p>

2020年1月17日 0条评论 1145点热度 0人点赞 code 阅读全文

<p>要将&quot;China&quot;译成密码,译码规律是:用原来字母后面的第4个字母代替原来的字母.例如,字母&quot;A&quot;后面第4个字母是&quot;E&quot;.&quot;E&quot;代替&quot;A&quot;。因此,&quot;China&quot;应译为&quot;Glmre&quot;。请编一程序,用赋初值的方法使cl、c2、c3、c4、c5五个变量的值…

2020年1月17日 0条评论 1361点热度 0人点赞 code 阅读全文

<p>编写一个C程序,输出以下信息:</p> <p>**************************<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Very&nbsp;&nbsp;&nbsp; Good!<br /> **************************</p> <p&…

2020年1月17日 0条评论 1324点热度 0人点赞 code 阅读全文

<div>Xiao Ming is only seven years old, Now I give him some numbers, and ask him what is the second largest sum if he can choose a part of them. For example, if I give him 1 、 2 、 3 , then he should tell me 5 as 6 is the largest and 5 is the second. I th…

2020年1月17日 0条评论 1305点热度 0人点赞 code 阅读全文