#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,n;
a=1;
scanf ("%d",&n);
while(a<=n)
{
b=1;
while(b<=a)
{
printf("%d",a);
b=b+1;
}
printf("n");
a=a+1;
}
system("pause");
return 0;
}
最后
以上就是想人陪宝马最近收集整理的关于嵌套循环while(啊哈C语言习题1)的全部内容,更多相关嵌套循环while(啊哈C语言习题1)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复