문제


첫째 줄에는 별 1개, 둘째 줄에는 별 2개, N번째 줄에는 별 N개를 찍는 문제

입력

첫째 줄에 N(1 ≤ N ≤ 100)이 주어진다.

출력

첫째 줄부터 N번째 줄까지 차례대로 별을 출력한다.

제한
예제 입력 1 <button class="btn btn-link copy-button" style="padding: 0px;" type="button" data-clipboard-target="#sample-input-1">복사</button>
5
예제 출력 1 <button class="btn btn-link copy-button" style="padding: 0px;" type="button" data-clipboard-target="#sample-output-1">복사</button>
* ** *** **** *****
문제가 이거에여그래서 제가 한게


#include
int main()
{
 using namespace std;
 ios_base::sync_with_stdio(false);
 cin.tie(nullptr);

 int N;
 cin >> N;
 for (int stars = 1; stars <= N; ++stars)
 {
  for (int x = 1; x <= stars; ++x)
  {
   cout << "*" <  }
  
  cout << "" < }
 return 0;
}

이렇게 햇는데 별이 *
**
***
****
*****
이렇게 나와야 하는데

 제가 짠거로는

*


*

*


*

*

*


*

*

*

*  이런식으로 나옵니다..;;

뭐가 문제일까요?