#include <iostream>
using namespace std; Download C++ Triangle
int main() {
for(int i=1;i<10;i++)
{
for(int j=1;j<i;j++)
{
cout<<"*";
}
cout<<endl;
}
system("pause");
return 0;
}
No comments:
Post a Comment