tag:blogger.com,1999:blog-5571795200996649673.post8187276840058893539..comments2024-03-28T12:47:57.075+05:30Comments on Program in C: Number Pattern - 11Nimish Garghttp://www.blogger.com/profile/15795821721808548808noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5571795200996649673.post-11301040709417594482023-05-10T19:36:07.768+05:302023-05-10T19:36:07.768+05:30This comment has been removed by the author.Justice Throwerhttps://www.blogger.com/profile/03258789900628183889noreply@blogger.comtag:blogger.com,1999:blog-5571795200996649673.post-24705200322121403482019-09-05T07:40:17.827+05:302019-09-05T07:40:17.827+05:30****1
***22
**333
*4444
55555
answer fro this pat...****1<br />***22<br />**333<br />*4444<br />55555<br /><br />answer fro this pattren please<br />Anonymoushttps://www.blogger.com/profile/16585080346837148973noreply@blogger.comtag:blogger.com,1999:blog-5571795200996649673.post-10159084560412152182018-09-05T18:15:29.545+05:302018-09-05T18:15:29.545+05:30#include
int main()
{
int i, j;
for(i=5;...#include <br /><br />int main()<br />{<br /> int i, j;<br /> for(i=5;i>=1;i--)<br /> {<br /> for(j=i;j>=1;j--)<br /> {<br /> printf("%d",i);<br /> }<br /> printf("\n");<br /> }<br /><br /> return 0;<br />}<br />its giving the same outputSunnyhttps://www.blogger.com/profile/01420233419526823051noreply@blogger.comtag:blogger.com,1999:blog-5571795200996649673.post-14935585164130015012017-07-19T08:52:51.502+05:302017-07-19T08:52:51.502+05:30You can also try this for the above output
for(i=...You can also try this for the above output<br /><br />for(i=5;i>=1;i--)<br />{<br />for(j=i;j>=1;j--)<br />{<br />printf("%d",i)<br />}<br />printf("\n");<br />}<br />Anonymoushttps://www.blogger.com/profile/16799202219234738932noreply@blogger.comtag:blogger.com,1999:blog-5571795200996649673.post-30378652006025712162014-02-26T11:51:58.326+05:302014-02-26T11:51:58.326+05:30try yourselftry yourselfNimish Garghttps://www.blogger.com/profile/15795821721808548808noreply@blogger.comtag:blogger.com,1999:blog-5571795200996649673.post-89659251097633914502014-02-26T00:30:02.273+05:302014-02-26T00:30:02.273+05:30can we also write the 2nd for loop statement as fo...can we also write the 2nd for loop statement as for(j=1;j>=i;j--) ?<br />Anonymoushttps://www.blogger.com/profile/01187674814297672512noreply@blogger.com