Answer :

#include <stdio.h>
main()
{
   int n1, n2;
 
      printf("Input n1 and n2\n");
      scanf("%d %d", &n1, &n2);
 
     if (n1 % n2)  
          printf("%d is not a multiple of %d\n",n1, n2);
     else
            printf("%d is a multiple of %d\n",n1, n2);
}

Other Questions