摘要:
#includeint main(){ int a,b; scanf("%d %d",&a,&b); a=a+b; b=a-b; a=a-b; printf("%d %d",a,b); return 0; } 阅读全文
posted @ 2014-08-01 01:29
z52527
阅读(137)
评论(0)
推荐(0)
摘要:
a+b problem#includeint main(){ int a,b; scanf("%d %d",&a,&b);//读入int整形变量a和b,不可缺少& printf("%d",a+b); return 0; }计算圆柱体面积:#include#include... 阅读全文
posted @ 2014-08-01 01:14
z52527
阅读(146)
评论(0)
推荐(0)
摘要:
c中各种运算符的实践整形运算:#includeint main(){ printf("%d",1+2); printf("%d",1*2); printf("%d",1/2); printf("%d",1-2); return 0; }浮点数运算:#include... 阅读全文
posted @ 2014-08-01 00:55
z52527
阅读(116)
评论(0)
推荐(0)

浙公网安备 33010602011771号