arrow_forward
همه ارسالها
جزئیات ارسال کد#620
برای پسندیدن وارد شوید
1// meow.cpp : This file contains the 'main' function. Program execution begins and ends there.
2//
3
4#include <iostream>
5
6using namespace std;
7
8int main()
9{
10
11 int n;
12 cin >> n;
13
14
15 for (int i = 0; i < n; i++)
16 {
17
18 for (int j=0; j < i +1; j++)
19 {
20 cout << "*";
21
22 }
23
24 cout << "\n";
25
26 }
27
28 return 0;
29}
کد ارسالشده برای داوری خودکار هاتکدز
UTF-8