Best collection of C programs
Showing posts with label
WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7
.
Show all posts
Showing posts with label
WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7
.
Show all posts
Tuesday, January 4, 2011
NUMBERS DIVIDED BY 7
WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7
void main ()
{
int a;
clrscr ();
a=1;
while (a<=50)
{
if (a%7==0)
printf ("%d\n",a);
a++;
}
getch ();
}
Older Posts
Home
Subscribe to:
Posts (Atom)