15 lines
292 B
C++
15 lines
292 B
C++
#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;
|
|
} |