< ” Proper Question : Write a function subprogram DIV(J , K) , where J and K are positive integers such that DIV(J , K) = 1 if J divides K but otherwise DIV(J , K) = 0. (For example, DIV(3 , 15)=1 but DIV(3,16)=0) ” >

#include<stdio.h>

#include<conio.h>

int DIV(int j , int k)

{

int result ;

printf( “Enter the positive Divident: ” );

scanf( “%d” , & k ) ;

printf( “Enter the positive Divisior: ” );

scanf(“%d” , &j);

result = k % j ;

if( result==0 )

{

result=1 ;

}

else if ( result!=0 )

{

result=0;

}

return result;

}

int main()

{

int a , b ;

printf ( “%d” , DIV ( a , b ) ) ;

getch();

return 0;

}