#include <stdio.h> int main(){ int n; int count=1; if (scanf("%d",&n)!=EOF){ for (int i=0;i<n;i++){ for (int j=0;j<n-i;j++){ printf("%4d",count); count++; } printf("\n"); } } else{ printf("input wrong"); } return 0; }
c语言编程练习题:7-124 上三角数字三角形
作者:yunjinqi
类别:编程
日期:2023-05-31 16:41:54
阅读:585 次
消耗积分:0 分
版权所有,转载本站文章请注明出处:云子量化, https://www.yunjinqi.top/article/249
最新文章
系统当前共有 404 篇文章