Header Ads

Learn Together, Stay Connected.

দ্বিবিভাজ্যতা-C


#include <stdio.h>
#include<math.h>
int main()
{
int a,b,n;
scanf("%d %d %d",&a,&b,&n);
if(n%a==0 && n%b==0)
{
printf("YES");
}
else
{
printf("NO");
}
return 0;
}

No comments

Theme images by Dizzo. Powered by Blogger.