* Pattern in C++
Print Star Triangle
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
int i,j;
for(i=1; i<=6; i++)
{
for(j=1; j<i; j++)
{
cout<<"*";
}
cout<<"\n";
}
getch();
}
Output
* * * * * * * * * * * * * * *
Welcome to Computer Programming.
Write a program, that takes 16-Elements in Two-Dimensional-Array that has 4 rows & 4 columns, then display the diagonal of Matrix. ...
Hello! We’re programmer and solve problem also have many information on other matters
0 on: "* Pattern in C++"