This is what I have so far. I believe this is what the pattern is doing..
using the example: If a user enters 3 the program should display a pattern such as this (I used numbers instead of "+" as an ex here just so it's easier to visualize. The "*" indicates where I need help)
#include<iostream>
#include<conio.h>
usingnamespace std;
void main()
{
system("cls");
int i, j, n, s;
cout << "Enter a positive number : ";
cin >> n;
system("cls");
for (i = 1; i <= n; i++)
{
s = n - i;
while (s != 0)
{
s--;
}
for (j = 1; j <= i; j++)
{
cout << "+";
}
cout << endl;
}
_getch();
}