SSC,IBPS,FCI,CGL QUIZES...
Saturday, September 22, 2012
WAP to print numbers from 1-50 which are divided by 7
/*********<soeasyprograms.blogspot.in>***********/
void main ()
{
int a;
clrscr ();
a=1;
while (a<=50)
{
if (a%7==0)
printf ("%d\n",a);
a++;
}
getch ();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment