C program to check the number is divisible by 97 or not by if else statements.
// To check the number is divisible by 97 or not by if else statements.
#include <stdio.h>
#include <stdlib.h>
int main()
{int n;
printf("enter the number to be divisibilty check: \n",n);
scanf("%d",&n);
if(n%97==0)
{
printf(" %d is divisible by 97",n);
}
else
{
printf("%d is not divisible by 97",n);
}
return 0;
}
Comments
Post a Comment