Input:
Output:
1)
2)
Code:
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
printf("Enter a number : \n");
scanf("%d",&a);
{
if ( a%5==0)
printf("The number is divisible by 5 ");
else
printf("The number is not divisible by 5 ");
}
return 0;
}