Ckalari.com is the No.1 website to get the best of C programs, free source codes, projects in c language……
|
A C program to Separate numbers which dividable by 7
#include<stdio.h>
#include<conio.h>
void main()
{
int limit,i;
clrscr();
printf("Enter the limit");
scanf("%d",&limit);
for(i=1;i<=limit;i++)
{
if(i%7==0)
{
printf("%d ",i);
}
}
getch();
}
|
|