Drawn Triangle Shape Using C++
Triangle Pattern in C++
Use for loop to Draw Triangle Pattern
========================================================================
#include<iostream>
using namespace std;
main()
{
for(int i=0;i<10;i++)
{
for(int j=0;j<i;j++)
{
cout<<"*";
}cout<<endl;
}
}
========================================================================
Code By: Kabeer Hussain
0 comments:
Post a Comment