Chinaunix首页 | 论坛 | 博客

发布时间:2014-11-25 21:36:53

#include <stdio.h>int main(){    int a,b,c;    scanf("%d",&a);    scanf("%d",&b);    c=a-b; &n.........【阅读全文】

阅读(1531) | 评论(0) | 转发(0)

发布时间:2014-11-25 21:19:44

  设圆半径 r=1.5,圆柱高 h=3,求圆周长、圆面积、圆球表面积、圆球体积、圆柱体积。用scanf输入数据,输出计算结果,输出时要求有文字说明,取小数点后2位数字,编写程序。   #include <stdio.h>int main(){float r,h;double c,ys,qs,qv,zv;scanf("%f%f",&h,&r);c =  2*r*3.14;ys = 3.14*r*r.........【阅读全文】

阅读(1292) | 评论(2) | 转发(0)

发布时间:2014-11-25 21:11:25

#include <stdio.h>int main(){inta,b,c;scanf("%d",&a);scanf("%d",&b);c=a+b;printf("sum is %d\n",c);return 0;}   按任意键可操作。每输入一个数字后,敲空格或回车键。......【阅读全文】

阅读(1212) | 评论(0) | 转发(0)

发布时间:2014-11-22 09:23:48

#include<stdio.h>int main(){int h,m;for(h=1;h<=9;h++){printf("\n");for(m=1;m<=h;m++)        printf("%d*%d=%d\t",m,h,h*m);}return 0;}......【阅读全文】

阅读(1260) | 评论(0) | 转发(0)

发布时间:2014-11-22 09:10:49

#include <stdio.h>int main(){printf("************************************************************\n");printf("*这是老师留的作业                                          *\n");printf("*****.........【阅读全文】

阅读(1222) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

追赶太阳小葵花2014-11-27 23:13

Super丶小波:加油哦

好的  嘿嘿

回复  |  举报

Super丶小波2014-11-26 21:11

加油哦

回复  |  举报

陈小静1232014-11-21 22:58

回复  |  举报
留言热议
请登录后留言。

登录 注册