#include<iostream.h>
#include<conio.h>
void main()
{
int j,i,k,l;
char c;
clrscr();
do
{
cout<<"Enter the number of stars in the base..";
cin>>k;
for (i=1;i<=k;i++)
{
for (j=1;j<=i;j++)
cout<<"* ";
cout<<endl;
}
cout<<"\nWant to try more..(y/n)\n";
cin>>c;
}
while(c=='y');
getch();
}
A blog containing C++ programs based on Classes, Objects and related concepts like Inheritance, Polymorphism etc.
100 Contemporary Living Room Designs
Monday, December 7, 2020
C++ program to print an lower triangle using stars.
Labels:
OTHER,
PATTERN,
SIMPLE C++ PROGRAMS
Subscribe to:
Post Comments (Atom)
Coin Casino Review ᐈ Is It Worth Playing? [December 2021]
ReplyDeleteThe 인카지노 Coin Casino mobile is optimized for 1xbet korean use by an android or iOS device. It is available for Android and iOS devices, supports 온카지노 banking
Thanks to the nudge, I was quite struggling to come out of this phase. Hire flutter developer who can perform the activities which will be customised as per the client's need. But, say I got Eiliana.com. I found the right one to do that.
ReplyDeleteI must suggest trying it once.
Nice Blog. Thanks for sharing with us. Such amazing information.
ReplyDeleteOnline Classes