pat总结
1002
1.字符数组的初始化:
char ch[10][5] = {“ling”, “yi”, “er”, “san”, “si”, “wu”, “liu”, “qi”, “ba”, “jiu”};
2.ASCII码中 ‘1’-48=1,字符比数字大48
3.截取百位,十位,个位方法:
if(sum/100 > 0){ //百位
printf("%s &am
转载
2019-02-27 17:12:04 ·
196 阅读 ·
0 评论