1.
Write
a C program to test whether the given number is completely divisible by 13 or
not.
#include<stdio.h>
#include<conio.h>
int main()
{
int n;
printf("Enter
any number: ");
scanf("%d",
&n);
if(n%2==0)
printf("%d
is divisible by 13",n);
else
printf("%d
is not divisible by 13",n);
return 0;
}
No comments:
Post a Comment