arrow_forward همه ارسال‌ها

جزئیات ارسال کد#622

verified
وضعیت داوری نهایی: پذیرفته شد
terminal
زبان برنامه‌نویسی: C++
schedule
ارسال‌کننده و زمان:
melisa azadi (۱ سال پیش)
descriptionsolution.cpp ۲۳ خط • ۳۲۱ بایت
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 int n;
11 cin >> n;
12 int a = n;
13 for (; n > 0; n--)
14 {
15 for (int b = 0; n > b; b++)
16 {
17 cout << "*";
18 }
19 cout << "\n";
20
21 }
22 return 0;
23}
کد ارسال‌شده برای داوری خودکار هاتکدز UTF-8