摘要: C语言中如何给整数指定位数展示(005,0028) 已知条件: 数字 35 要求5位展示 00035 思路:先确定需不需要补0,补几个0,然后把原来的数字拼接上 #include <stdio.h> #include <math.h> int main(int argc, char const* a 阅读全文
posted @ 2022-04-29 10:13 huameixiao 阅读(212) 评论(0) 推荐(0) 编辑