i get output lik
*
**
***
****
*****
but how can i change it like
*****
****
***
**
*
please help this question mae me carzy ahhhhhhhhhhhhhh
Last edited on
Show your code and we can help. The one that you say your output is
Last edited on
#include <iostream>
using namespace std;
int main()
{
for (int i=1 ;i<=4; i++)
{
for(int j=1; j<=i ; j++)
{
cout<<"*"<<" ";
}
cout<<endl;
}
return 0;