I need to output the following and I cant seem to get it
1.
*
**
***
****
2.
****
***
**
*
3.
1
12
123
1234
4.
4444
333
22
1
5.
1234
234
34
4
6.
1111
222
33
4
7.
*
**
***
****
===========
The first one worked but the following ones didn't
This is the first one "
int d = 0;
int a = 0;
for (d=1; d<=4; d++)
{
cout << endl;
for (a=1; a<=d; a++)
{
cout << " * " ;
}
}
What if you reverse the code.. by decrementing it. I'm not sure but give it a shot
What is the difference between numbers 1 and 7?