I hope you enjoyed with my blog.
#include <iostream> using namespace std; int main() { int x,y; for (x=3; x>=1; x--) { for (y=1; y<=x; y++) { cout << "* "; } cout << endl; } return 0; }
#include <iostream>
using namespace std;
int main()
{
int x,y;
for (x=3; x>=1; x--)
for (y=1; y<=x; y++)
cout << "* ";
}
cout << endl;
return 0;