*
**
***
****
*****
#include
#include
int main()
{
clrscr();
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
cout<<'*';
cout<<"\n";
}
getch();
return 0;
}
Output:
*
**
***
****
*****
Complete solution for electrical engineering interview question and answers for job.The information helps to solve electronics and electrical engineers interview question and answers.This electrical engineering blog helps engineers a lot.A group of tips is also given here along with C++ programming.
No comments:
Post a Comment