嵌套循环while(啊哈C语言习题1)
#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"