摘要:
1. 格式符%04d的作用是:在左边填充数字0,输出变量的所有数字且左对齐 #include <stdio.h>int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf( 阅读全文
posted @ 2021-04-01 22:18 布鲁布鲁鲁 阅读(413) 评论(2) 推荐(0)
|
|
|
|
摘要:
1. 格式符%04d的作用是:在左边填充数字0,输出变量的所有数字且左对齐 #include <stdio.h>int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf( 阅读全文
posted @ 2021-04-01 22:18 布鲁布鲁鲁 阅读(413) 评论(2) 推荐(0) |
|