Wednesday, August 9, 2017

Short Code - One number is multiple of Another

Function with if else conditions - To find the number is multiple of another

int main
int a,b;

printf("enter any two number\n");


if (a%b==0)

printf("this is  multiple number");

else if (b%a==0);

printf("this is multiple number");


printf("this is not multiple number");

return 0;

No comments:

Post a Comment