Saturday, August 10, 2019

Numeric pattern 6

Numeric pattern 6:


numeric patterns in cprograms


     1
   22
  333
 4444
55555

#include<stdio.h>
#include<conio.h>

void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=5;j>=1;j--)
{
if(i>=j)
{
printf("%d",i);
}
else
{
printf(" ");
}
}
printf("\n");
}
getch();
}


EmoticonEmoticon

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:o
:>)
(o)
:p
:-?
(p)
:-s
8-)
:-t
:-b
b-(
(y)
x-)
(h)