怎样用FOR语句编写程序输出以下图形

999999999888888887777777666666555554444333221
2025-02-01 03:51:55
推荐回答(3个)
回答1:

for(i=9;i>0;i--)
for(j=1;j<=i;j++)
printf("i");
printf("/n");

偶素抄的,哈哈

回答2:

For i = 9 To 1 Step -1
For j = 1 To i
Print CStr(i);
Next
Print
Next

回答3:

For i = 9 To 1 Step -1
For j = 1 To i
Print CStr(i);
Next
Print
Next

抄袭无罪,哈哈