chenxi16

导航

2020年4月7日 #

PAT (Basic Level) Practice (中文) 1002 写出这个数

摘要: 读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 1 #include<stdio.h> 2 int main(){ 3 char c; 4 int sumt=0,t[10],count,i; 5 scanf("%c",&c); 6 while(c!='\0'&&c!='\n' 阅读全文

posted @ 2020-04-07 10:59 chenxi16 阅读(167) 评论(0) 推荐(0) 编辑