Computer Science, asked by Shergill39, 9 months ago

write a program to test whether a given number is divisible by another given number​

Answers

Answered by kunalboss49
2

Answer:

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...Here,

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...Here,int is the return type.

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...Here,int is the return type.CheckDivision is the function name.

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...Here,int is the return type.CheckDivision is the function name.int num is the number to divide.

if(CheckDivision(number,A,B)) printf("%d is divisible by %d and %d\n",number,A,B); else printf("%d is not divisible by %d and %d\n",number,A,B);...Here,int is the return type.CheckDivision is the function name.int num is the number to divide.int a , int b are the divisors.

Explanation:

I hope it is helpful plz marks me as brainlieast and give me thanks at all my answers and follow me

Similar questions