Home   Easy-Code    Forum  Updater 
Twitter Facebook



Program to display five numbers on each column using c

Critics Rating:

Users Rating:

    /* PROGRAM TO DISPLAY FIVE NUMBERS ON EACH COLUMN */

#include <stdio.h>

main()

{

int i,c=1,l=1;

clrscr();

for (i=1;i<100;i++)

{

printf("%4d",c);

c=c+5;

if (i%20==0)

{

l++;

c=l;

}

}

getch();

}







Courtesy, Source, References & Regards: Kishore AVGK

While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright@2009-2011 by KuGuNi.com. All Rights Reserved.