C-Program for rectangular pyramid..code required | Miscellaneous › Others › C-Program for rectangular pyramid..code required This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by doraemon. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 12, 2013 at 3:49 am #2398 MrityunjoyParticipant hello, i’m a begineer in learning c.i have completed “nested loop” and “arrays”. please help me to make the following structure with comments in program. a b b b b a b b b b a b b b b a thank you in advance. May 14, 2013 at 12:38 pm #9746 doraemonParticipant Here loop to generate pattern for(i=0;i<4;i++) { for(j=0;j<4;j++) { if(i==j) { printf(“a”); } else { printf(“b”); } } printf(“n”); } Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In