'commit'
This commit is contained in:
16
TangDou/Output/O1.cpp
Normal file
16
TangDou/Output/O1.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int i, j;
|
||||
int line;
|
||||
scanf("%d", &line);
|
||||
for (i = 0; i <= line; i++) {
|
||||
for (j = line - i + 1; j <= line; j++) {
|
||||
printf("* ");
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user