来帮一下忙啊!!!
求解一代码a,aa,aaa,aaaa,aaaaa,aaaaaa,aaaaaaa,......的算法和 c代码???
#include "stdio.h"
main()
{
int i,n,j;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=i;j++)
printf("a");
printf(",");
}
getch();
}