#include <iostream>

using namespace std;

main()

{

cout<<"\t  welcome to pattern display "<<endl;

    const int y=1 ,z ;


    char symbol = '+';


   

    cout << "enter first number";

    cin >> z;


    for(int i = y; i < z; i++)

    {

        for(int j = y; j <= i; j++)

        {

            cout << symbol;

        }

        cout << endl;

    }


   

    return 0;

}