#include<conio.h>
#include<stdio.h>
void main()
{
int i,j,k;
clrscr();
printf(“Enter any
number”);
scanf(“%d”,&i);
for(j=1;j<=1;++j)
{
k=i%j;
if(k==0)
printf(“%d\n”,j);
}
getch();
}
OUTPUT :
Enter any number = 5
1
5
0 comments:
Post a Comment