摘要: #include"stdio.h"void main(){ int i,j; i = 6; while(i--) { printf("please input/n"); scanf("%d",&j); j = (j&1); printf("output%d/n",j); } system("pause");}注意(j&1)的技巧 按位与运算 0x01 阅读全文
posted @ 2011-05-12 20:04 foreverlearn 阅读(183) 评论(0) 推荐(0) 编辑