arrow_forward
همه ارسالها
جزئیات ارسال کد#328
برای پسندیدن وارد شوید
1#include <iostream>
2
3using namespace std;
4
5int main()
6{
7 int n; cin >> n;
8
9 int i = 0;
10 int x = 0;
11
12 while ( x < n )
13 {
14 while(i < n)
15 {
16 cout << "*";
17 i= i+1;
18 }
19
20 cout << "\n";
21 i=0;
22 x = x+1;
23 }
24
25 return 0;
26}
کد ارسالشده برای داوری خودکار هاتکدز
UTF-8