题目:对齐显示1-100,每行输出5个
#include<stdio.h>
main()
{
int a;
for(a=1;a<=100;a++)
printf("%8d",a);
if(a%5==0)
printf("\n");
}
点赞
扫一扫分享朋友圈
二维码
分享
你确定要删除这个问题吗?