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