Contribute or Contact To contact or contribute your programs, tips, notes to Programly drop an email to us at lyprogram9@gmail.com Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps Comments
pattern problem in c with output 12345 4321 123 21 1 #include <stdio.h> int main(void) { int f=5; int w=5; for(int i=1;i<=5;i++) { if(i%2!=0){ for(int h=1;h<=f;h++){ printf("%d",h); } f=f-1; w=w-1; printf("\n"); } if(i%2==0){ for(int r=w;r>0;r--) { printf("%d",r); } w=w-1; f=f-1; printf("\n"); } } return 0; } output:- 12345 ... Read more
COMPUTER NETWORKS OSI LAYERS Programly Special's A Video on OSI Layers in computer networks (cn) Read more
Comments
Post a Comment