Files
python/TangDou/LianXiTi50/47.cpp

15 lines
292 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int i, j, n;
for (i = 1; i <= 7; i++) {
scanf("%d", &n);
if (n >= 1 && n <= 50)
for (j = 1; j <= n; j++)
printf("*");
printf("\n");
}
return 0;
}