摘要: 运用do,while语句输出#include<stdio.h>int main(){ int a,b,c,d; while(scanf("%d",&a)!=EOF) { do{ b=a%10; a=a/10; printf("%d",b); }while(a!=0); printf("\n"); } return 0;} 阅读全文
posted @ 2012-05-22 20:38 尔滨之夏 阅读(223) 评论(0) 推荐(0) 编辑