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 :-
OUTPUT :-




                                                                                                                   -THANKING YOU 

Comments

Post a Comment

Popular posts from this blog

Draw Messi sketch using python :-

create spotify logo in python -