#include<iostream.h>
#include<conio.h>
void main()
{
int m=0,x,b;
clrscr();
do
{
x=0;b=1;
while(x<=m)
{
if(m==0||x==0)
cout<<" "<<b;
else
{
b=b*(m-x+1)/x;
cout<<" "<<b;
}
x=x+1;
}
cout<<"\n\n";
m=m+1;
}
while(m<=5);
getch();
}
#include<conio.h>
void main()
{
int m=0,x,b;
clrscr();
do
{
x=0;b=1;
while(x<=m)
{
if(m==0||x==0)
cout<<" "<<b;
else
{
b=b*(m-x+1)/x;
cout<<" "<<b;
}
x=x+1;
}
cout<<"\n\n";
m=m+1;
}
while(m<=5);
getch();
}
2 comments:
I don't even know how I stopped up here, but I believed this publish was good. I do not recognise who you are but certainly you are going to a well-known blogger when you are not already. Cheers!
My web page :: Engagement Rings
Hellо, just wanted to mention, I lоνed thіs
artіclе. It was hеlpful. Keep on pоѕting!
my рagе payday loans no credit check
Post a Comment