Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
This Program Prints Patterns Using C Language.
SUBMITTED BY:
Nrupeshsinh
DATE:
June 26, 2016, 4:03 a.m.
FORMAT:
C
SIZE:
244 Bytes
Raw
Download
Tweet
HITS:
365
Go to comments
Report
#
include
<stdio.h>
#
include
<conio.h>
void
main
()
{
int
i
,
j
,
k
;
clrscr
();
for
(
i
=
1
;
i
<=
5
;
i
++
)
{
for
(
j
=
5
;
j
>=
1
;
j
--
)
{
if
(
j
<=
i
)
printf
(
"%d"
,
j
);
else
printf
(
" "
);
}
printf
(
"
\n
"
);
}
getch
();
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus