/* NUMBER BETWEEN 100 & 200
#include<conio.h>
#include<stdio.h>
void main()
{
int i=101,count=0;
while((i<200)&&(i>100) )
{
if(i%7==0)
{
printf("\n%d",i);
count++;
}
i++;
}
printf("\nTotal count is\t%d",count);
getch();
}
program to display the number b/w 100&200
#include<conio.h>
#include<stdio.h>
void main()
{
int i=101,count=0;
while((i<200)&&(i>100) )
{
if(i%7==0)
{
printf("\n%d",i);
count++;
}
i++;
}
printf("\nTotal count is\t%d",count);
getch();
}
program to display the number b/w 100&200
No comments:
Post a Comment