摘要: #include#define PI 3.14159main(){double a;scanf("%lf",&a);printf("%lf\n",PI*a*a);printf("%lf\n",2*PI*a);} 阅读全文
posted @ 2015-03-25 15:23 李京泽 阅读(457) 评论(0) 推荐(0)
摘要: #include#includemain(){int x,y,n,m ,z; scanf("%d%d%d",&x,&y,&n);z=max(x,y);m=max(n,z);printf("%d.\n",m);} int max(int a,int b){if(a>b) return a;els... 阅读全文
posted @ 2015-03-25 14:59 李京泽 阅读(610) 评论(0) 推荐(0)
摘要: #includemain(){printf("\101 \x42 C\n");printf("I say:\"How are you\?\"\n");printf("\\C Program\\\n");printf("Turbo \'C\'");} 阅读全文
posted @ 2015-03-25 14:48 李京泽 阅读(478) 评论(3) 推荐(1)
摘要: #include#includeint main(){int a,b;int i=0;printf("char:%d bytes.\n",sizeof(char));printf("short:%d bytes.\n",sizeof(short));printf("i:%d bytes.\n",si... 阅读全文
posted @ 2015-03-25 14:45 李京泽 阅读(611) 评论(0) 推荐(0)