C program to check whether a number is divisible by 5 and 11
#include <stdio.h>
int main ()
{
int number ;
printf ("enter number ");
scanf ("%d",&number);
if (number %5==0 &&number%11==0)
{
printf ("Yes ,your enetered number is divisible ");
}
else
{
printf (" sorry ,your enetered number is not divisible ");
}
return 0;
}
INPUT :-
-THANKING YOU
Nice 👍
ReplyDeletethanks ..keep supporting
Delete