# C++每日一题 Day 5 数字楼梯

***

lhy版权所有，禁止转载

### 知识点：for循环/循环嵌套

***

## 题目描述

某人今天在体育馆里军训，面对着一个倒着的楼梯练习举牌子。这个楼梯的形状大概长这个样子：

> 0102030405 06070809 101112 1314 15

然后某人一站起身就一头撞在了楼梯上...他十分气愤，于是给了你一个整数n（n<8），请你输出这个n层\*n层的倒三角形的数字楼梯，每个数占两位。

## 输入

1个整数(<8)

## 输出

1个倒三角数字楼梯

## 输入输出样例

**输入**

```
5
```

**输出**

```
0102030405
06070809
101112
1314
15
```

***

## 回答要求

* 附上你完成本程序的完整代码
* 详细解释for循环的组成及循环过程中执行的顺序


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.mcyou.cc/c++-mei-ri-yi-ti/c++-mei-ri-yi-ti-day-5-shu-zi-lou-ti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
